Determines whether the list contains an element with the specified key.
Namespace: Spire.Doc.CollectionsAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public virtual bool Contains( TKey key )
Public Overridable Function Contains ( key As TKey ) As Boolean
public: virtual bool Contains( TKey key )
abstract Contains : key : 'TKey -> bool override Contains : key : 'TKey -> bool
Parameters
- key
- TKey
Key of the element to search.
Return Value
BooleanTrue if list contains specified key.