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의 가장 중요한 메타데이터입니다.

적용 대상