EndpointMetadataCollection.GetMetadata<T> メソッド

定義

型の最も重要なメタデータ項目を取得します T

public:
generic <typename T>
 where T : class T GetMetadata();
public T GetMetadata<T> () where T : class;
public T? GetMetadata<T> () where T : class;
member this.GetMetadata : unit -> 'T (requires 'T : null)
Public Function GetMetadata(Of T As Class) () As T

型パラメーター

T

取得するメタデータの種類。

戻り値

T

T または nullの最も重要なメタデータ。

適用対象