The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
KeyedByTypeCollection<TItem>::Find<T> Method ()
.NET Framework (current version)
Returns the first item in the collection of a specified type.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Return Value
Type: TThe 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.
Type Parameters
- T
The type of item in the collection to find.
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: