ExtensionMethods.FindVocabularyAnnotations<T> 메서드 (IEdmModel, IEdmVocabularyAnnotatable, String)
특정 조건을 바인딩하는 주석 가능한 요소의 용어 모음 주석을 가져옵니다.
네임스페이스: Microsoft.Data.Edm
어셈블리: Microsoft.Data.Edm(Microsoft.Data.Edm.dll)
구문
‘선언
<ExtensionAttribute> _
Public Shared Function FindVocabularyAnnotations(Of T As IEdmVocabularyAnnotation) ( _
model As IEdmModel, _
element As IEdmVocabularyAnnotatable, _
termName As String _
) As IEnumerable(Of T)
‘사용 방법
Dim model As IEdmModel
Dim element As IEdmVocabularyAnnotatable
Dim termName As String
Dim returnValue As IEnumerable(Of T)
returnValue = model.FindVocabularyAnnotations(element, _
termName)
public static IEnumerable<T> FindVocabularyAnnotations<T>(
this IEdmModel model,
IEdmVocabularyAnnotatable element,
string termName
)
where T : IEdmVocabularyAnnotation
[ExtensionAttribute]
public:
generic<typename T>
where T : IEdmVocabularyAnnotation
static IEnumerable<T>^ FindVocabularyAnnotations(
IEdmModel^ model,
IEdmVocabularyAnnotatable^ element,
String^ termName
)
static member FindVocabularyAnnotations :
model:IEdmModel *
element:IEdmVocabularyAnnotatable *
termName:string -> IEnumerable<'T> when 'T : IEdmVocabularyAnnotation
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.
유형 매개 변수
- T
반환 중인 주석의 형식입니다.
매개 변수
- model
유형: Microsoft.Data.Edm.IEdmModel
검색할 모델입니다.
- element
유형: Microsoft.Data.Edm.IEdmVocabularyAnnotatable
주석을 확인할 요소입니다.
- termName
유형: System.String
검색할 조건의 이름입니다.
반환 값
유형: System.Collections.Generic.IEnumerable<T>
이 모델 또는 조건을 바인딩하는 이 모델에서 참조되는 모델에 의해 요소에 연결된 주석입니다.
사용법 정보
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)을(를) 참조하십시오.