ArraySegment<T>.ICollection<T>.Contains(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the array segment contains a specific value.
virtual bool System.Collections.Generic.ICollection<T>.Contains(T item) = System::Collections::Generic::ICollection<T>::Contains;
bool ICollection<T>.Contains (T item);
abstract member System.Collections.Generic.ICollection<T>.Contains : 'T -> bool
override this.System.Collections.Generic.ICollection<T>.Contains : 'T -> bool
Function Contains (item As T) As Boolean Implements ICollection(Of T).Contains
Parameters
- item
- T
The object to locate in the array segment.
Returns
true
if item
is found in the array segment; otherwise, false
.
Implements
Exceptions
The underlying array is null
.
Remarks
This member is an explicit interface member implementation. It can be used only when the ArraySegment<T> instance is cast to an ICollection<T> interface.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.