다음을 통해 공유


ExtensionMethods.VocabularyAnnotations 메서드

특정 모델에서 표시된 대로 주석 가능한 요소의 용어 모음 주석을 가져옵니다.

네임스페이스:  Microsoft.Data.Edm
어셈블리:  Microsoft.Data.Edm(Microsoft.Data.Edm.dll)

구문

‘선언
<ExtensionAttribute> _
Public Shared Function VocabularyAnnotations ( _
    element As IEdmVocabularyAnnotatable, _
    model As IEdmModel _
) As IEnumerable(Of IEdmVocabularyAnnotation)
‘사용 방법
Dim element As IEdmVocabularyAnnotatable
Dim model As IEdmModel
Dim returnValue As IEnumerable(Of IEdmVocabularyAnnotation)

returnValue = element.VocabularyAnnotations(model)
public static IEnumerable<IEdmVocabularyAnnotation> VocabularyAnnotations(
    this IEdmVocabularyAnnotatable element,
    IEdmModel model
)
[ExtensionAttribute]
public:
static IEnumerable<IEdmVocabularyAnnotation^>^ VocabularyAnnotations(
    IEdmVocabularyAnnotatable^ element, 
    IEdmModel^ model
)
static member VocabularyAnnotations : 
        element:IEdmVocabularyAnnotatable * 
        model:IEdmModel -> IEnumerable<IEdmVocabularyAnnotation> 
public static function VocabularyAnnotations(
    element : IEdmVocabularyAnnotatable, 
    model : IEdmModel
) : IEnumerable<IEdmVocabularyAnnotation>

매개 변수

반환 값

유형: System.Collections.Generic.IEnumerable<IEdmVocabularyAnnotation>
모델 또는 모델에서 참조되는 모델에 의해 요소에 연결된 주석입니다.

사용법 정보

Visual Basic 및 C#에서는 이 메서드를 IEdmVocabularyAnnotatable 유형의 모든 개체에 대한 인스턴스 메서드로 호출할 수 있습니다. 인스턴스 메서드 구문을 사용하여 이 메서드를 호출하는 경우 첫 번째 매개 변수를 생략합니다. 자세한 내용은 https://msdn.microsoft.com/ko-kr/library/bb384936(v=vs.103) 또는 https://msdn.microsoft.com/ko-kr/library/bb383977(v=vs.103)을(를) 참조하십시오.

참고 항목

참조

ExtensionMethods 클래스

Microsoft.Data.Edm 네임스페이스