HeaderCollectionContains Method |
Gets a value indicating whether the specified header is contained in the collection
Namespace:
Aspose.Email.Mime
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntaxpublic bool Contains(
string item
)
Public Function Contains (
item As String
) As Boolean
public:
virtual bool Contains(
String^ item
) sealed
abstract Contains :
item : string -> bool
override Contains :
item : string -> bool
Parameters
- item
- Type: SystemString
A header to search
Return Value
Type:
BooleanTrue if collection contains specified
item; otherwise,
falseImplements
ICollectionTContains(T)
See Also