PSDataCollection<T>.Contains(T) Method

Definition

Determines whether the buffer contains an element with a specific value.

C++
public:
 virtual bool Contains(T item);

Parameters

item
T

The object to locate in the buffer.

Returns

true if the element value is found in the buffer; otherwise false.

Implements

Applies to

Proizvod Verzije
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0