IExtensionCollection<T>.Find<E> 方法

定義

在集合中找出指定的擴充物件。

public:
generic <typename E>
 E Find();
public E Find<E> ();
abstract member Find : unit -> 'E
Public Function Find(Of E) () As E

類型參數

E

擴充物件的型別。

傳回

E

找到的擴充物件。

備註

IExtensionCollection<T>.Find 會傳回實作 (的延伸模組是或衍生自指定的型別) 。 如果不止一個擴充實作指定的型別,則會傳回其中一個。 WCF 實作會傳回最近新增的 ,但這並非實作的必要專案。 如果沒有任何擴充實作指定的型別,則 IExtensionCollection<T>.Find 會傳回 null。

適用於