Find(E) Method
Collapse the table of content
Expand the table of content

IExtensionCollection(Of T).Find(Of E) Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Finds the specified extension object in the collection.

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

'Declaration
Function Find(Of E) As E

Type Parameters

E

The type of extension object.

Return Value

Type: E
The extension object that was found.

Find(Of E) returns an extension that either is an instance of the specified type E or derives from E. If more than one extension implements the specified type, only one of them is returned. The Windows Phone implementation returns the most recently added, but this selection is not required of other implementations. If no extension implements the specified type, Find(Of E) returns Nothing.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft