KeyedByTypeCollection<TItem>.Find<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.
Returns the first item in the collection of a specified type.
public:
generic <typename T>
T Find();
public T Find<T> ();
member this.Find : unit -> 'T
Public Function Find(Of T) () As T
Type Parameters
- T
The type of item in the collection to find.
Returns
T
The object of type T
if it is a reference type and the value of type T
if it is a value type. The default value of the type is returned if no object of type T
is contained in the collection: null
if it is a reference type and 0 if it is a value type.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.