Hunny Software Library Reference

BodyStructureData.NumContentDispositionParams Property

Gets the number of parameters in the Content-Disposition header field.

[Visual Basic]
Public ReadOnly Property NumContentDispositionParams As Integer
[C#]
public int NumContentDispositionParams {get;}

Property Value

The number of parameters in the Content-Disposition header field.

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 get the value of this property to learn how many parameters are present in the BODYSTRUCTURE structure. Call the ContentDispositionParam method to get the parameter at a specific index value.

See Also

BodyStructureData Class | Hunny.Mail Namespace