Determines whether the list contains an element with the specified key.

Namespace: Spire.Doc.Collections
Assembly: 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

Boolean
True if list contains specified key.

See Also