Gets if collection has item with the specified name.
Declaration Syntax
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
Parameters
- name (String)
- Header field name.
Return Value
Boolean
Returns true if specified item exists in the collection, otherwise false.
Returns true if specified item exists in the collection, otherwise false.
Exceptions
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