ODataAnnotatable.GetAnnotation<T> 메서드
주석을 형식별로 가져오거나 설정합니다.
네임스페이스: Microsoft.Data.OData
어셈블리: Microsoft.Data.OData(Microsoft.Data.OData.dll)
구문
‘선언
Public Function GetAnnotation(Of T As Class) As T
‘사용 방법
Dim instance As ODataAnnotatable
Dim returnValue As T
returnValue = instance.GetAnnotation()
public T GetAnnotation<T>()
where T : class
public:
generic<typename T>
where T : ref class
T GetAnnotation()
member GetAnnotation : unit -> 'T when 'T : not struct
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.
유형 매개 변수
- T
주석 형식입니다.
반환 값
유형: T
없는 경우 T 또는 null 형식의 주석입니다.