Edit

Share via


BindingElementCollection.Find<T> Method

Definition

Returns the first item of a specified type from the collection of binding elements.

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 to find.

Returns

T

The item of type Type if found; if not found, 0 if T is a value type and null if T is a reference type.

Applies to