Hunny Software Library Reference

FlagsResponse.Flag Method 

Indicates if the specified flag is present in the response.

[Visual Basic]
Public Function Flag( _
   ByVal name As String _
) As Boolean
[C#]
public bool Flag(
   string name
);

Parameters

name
The flag to check for.

Return Value

True if the specified flag is present in the response.

Remarks

You may use this method to check if a flag is present in the response. FlagsResponse also provides properties that you may get to check for the standard flags \Answered, \Flagged, \Seen, \Deleted, and \Draft.

See Also

FlagsResponse Class | Hunny.Mail Namespace