IExtensionCollection<T>.Find<E> 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.
Finds the specified extension object in the collection.
public:
generic <typename E>
E Find();
public E Find<E> ();
abstract member Find : unit -> 'E
Public Function Find(Of E) () As E
Type Parameters
- E
The type of extension object.
Returns
The extension object that was found.
Remarks
IExtensionCollection<T>.Find 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, IExtensionCollection<T>.Find returns null.