IExtensionCollection<T>::Find<E> Method ()

 

Finds the specified extension object in the collection.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

generic<typename E>
E Find()

Return Value

Type: E

The extension object that was found.

Type Parameters

E

The type of extension object.

Find<E> returns an extension that implements (is or derives from) the specified type. If more than one extension implements the specified type, one is returned. The WCF implementation returns the most recently added, but this is not required of implementations. If no extension implements the specified type, Find<E> returns null.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: