ExtensionMethods.FindVocabularyAnnotations 메서드 (IEdmModel, IEdmVocabularyAnnotatable)
특정 모델 및 해당 모델에서 참조하는 모델에 정의된 주석을 추가할 수 있는 요소의 용어 모음 주석을 가져옵니다.
네임스페이스: Microsoft.Data.Edm
어셈블리: Microsoft.Data.Edm(Microsoft.Data.Edm.dll)
구문
‘선언
<ExtensionAttribute> _
Public Shared Function FindVocabularyAnnotations ( _
model As IEdmModel, _
element As IEdmVocabularyAnnotatable _
) As IEnumerable(Of IEdmVocabularyAnnotation)
‘사용 방법
Dim model As IEdmModel
Dim element As IEdmVocabularyAnnotatable
Dim returnValue As IEnumerable(Of IEdmVocabularyAnnotation)
returnValue = model.FindVocabularyAnnotations(element)
public static IEnumerable<IEdmVocabularyAnnotation> FindVocabularyAnnotations(
this IEdmModel model,
IEdmVocabularyAnnotatable element
)
[ExtensionAttribute]
public:
static IEnumerable<IEdmVocabularyAnnotation^>^ FindVocabularyAnnotations(
IEdmModel^ model,
IEdmVocabularyAnnotatable^ element
)
static member FindVocabularyAnnotations :
model:IEdmModel *
element:IEdmVocabularyAnnotatable -> IEnumerable<IEdmVocabularyAnnotation>
public static function FindVocabularyAnnotations(
model : IEdmModel,
element : IEdmVocabularyAnnotatable
) : IEnumerable<IEdmVocabularyAnnotation>
매개 변수
- model
유형: Microsoft.Data.Edm.IEdmModel
검색할 모델입니다.
- element
유형: Microsoft.Data.Edm.IEdmVocabularyAnnotatable
주석을 확인할 요소입니다.
반환 값
유형: System.Collections.Generic.IEnumerable<IEdmVocabularyAnnotation>
이 모델 또는 이 모델에서 참조되는 모델에 의해 요소에 연결된 주석입니다.
사용법 정보
Visual Basic 및 C#에서는 이 메서드를 IEdmModel 유형의 모든 개체에 대한 인스턴스 메서드로 호출할 수 있습니다. 인스턴스 메서드 구문을 사용하여 이 메서드를 호출하는 경우 첫 번째 매개 변수를 생략합니다. 자세한 내용은 https://msdn.microsoft.com/ko-kr/library/bb384936(v=vs.103) 또는 https://msdn.microsoft.com/ko-kr/library/bb383977(v=vs.103)을(를) 참조하십시오.