Hunny Software Library Reference

BodyStructureData.ContentDispositionParam Method 

Gets the parameter at the specified position in the Content-Disposition header field.

[Visual Basic]
Public Function ContentDispositionParam( _
   ByVal index As Integer _
) As String
[C#]
public string ContentDispositionParam(
   int index
);

Parameters

index
The position of the parameter.

Return Value

The parameter at the specified position.

Remarks

The Content-Disposition header field may contain parameters that provide further information about the disposition of the content. An example of a commonly used parameter is the filename parameter, which indicates the file name of a file attachment. The IMAP4 server parses the parameters of the Content-Disposition header field and includes them in a BODYSTRUCTURE structure.

You may call this method to get the parameter at a specific index value.

The parameter index must satisfy 0 <= index < NumContentDispositionParams.

See Also

BodyStructureData Class | Hunny.Mail Namespace