OwinFeatureCollection.Get 方法

定義

多載

Get(Type)
Get<TFeature>()

從集合擷取要求的功能。

Get(Type)

System.Object.Get(System.Type)
public:
 System::Object ^ Get(Type ^ key);
public object Get (Type key);
member this.Get : Type -> obj
Public Function Get (key As Type) As Object

參數

key
Type

傳回

適用於

Get<TFeature>()

從集合擷取要求的功能。

public:
generic <typename TFeature>
 virtual TFeature Get();
public TFeature Get<TFeature> ();
abstract member Get : unit -> 'Feature
override this.Get : unit -> 'Feature
Public Function Get(Of TFeature) () As TFeature

類型參數

TFeature

功能索引鍵。

傳回

TFeature

所要求的功能,如果不存在,則為 null。

實作

適用於