Gets if collection has item with the specified name.

C# | Visual Basic | Visual C++ | F# |
public bool Contains( string name )
Public Function Contains ( name As String ) As Boolean
public: bool Contains( String^ name )
member Contains : name : string -> bool

- name (String)
- Header field name.

Boolean
Returns true if specified item exists in the collection, otherwise false.
Returns true if specified item exists in the collection, otherwise false.

Exception | Condition |
---|---|
ArgumentNullException | Is raised when name is null reference. |
ArgumentException | Is raised when any of the arguments has invalid value. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119