Set<T>.Contains Method

Check if the set contains an element.
Public Function Contains( _ 
ByVal element As T _ 
) As Boolean
This language is not supported or no code example is available.
public bool Contains( 
T element 
)
This language is not supported or no code example is available.
public:  
bool Contains( 
T^ element 
)
This language is not supported or no code example is available.
public function Contains( 
element : T 
) : boolean;
This language is not supported or no code example is available.

Parameters

element
T

Return Value

bool

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition