The Containsmethod determines whether the specific header exists in the collection.
Assembly: ServerAgent(in ServerAgent.dll)
Syntax
Visual Basic (declaration) |
---|
Public Function Contains ( _ h As Header _ ) As Boolean |
Visual Basic (usage) |
---|
Dim instance As HeaderCollection Dim h As Header Dim returnValue As Boolean returnValue = instance. Contains( h) |
C# |
---|
public bool Contains( Header h ) |
Parameters
Remarks
This method searches for a specific header object, not the header type. There may be multiple distinct headers within the collection that share the same header type. This method will return true only if an exact match (same header type, value, parameter list) is found.
The match is not case-sensitive.