Share via


BindingElementCollection.Find<T> 方法

定義

從繫結項目的集合中傳回指定之型別的第一個項目。

public:
generic <typename T>
 T Find();
public T Find<T> ();
member this.Find : unit -> 'T
Public Function Find(Of T) () As T

類型參數

T

要尋找之項目的 Type

傳回

T

如果有找到的話,則為 Type 型別的項目,如果找不到則為 0 (如果 T 為實值型別 (Value Type)) 或 null (如果 T 為參考型別 (Reference Type))。

適用於