搜索由此模型或给定元素的引用模型指定的词汇批注。
命名空间: Microsoft.Data.Edm.Library
程序集: Microsoft.Data.Edm(在 Microsoft.Data.Edm.dll 中)
语法
声明
Public Overridable Function FindDeclaredVocabularyAnnotations ( _
element As IEdmVocabularyAnnotatable _
) As IEnumerable(Of IEdmVocabularyAnnotation)
用法
Dim instance As EdmModelBase
Dim element As IEdmVocabularyAnnotatable
Dim returnValue As IEnumerable(Of IEdmVocabularyAnnotation)
returnValue = instance.FindDeclaredVocabularyAnnotations(element)
public virtual IEnumerable<IEdmVocabularyAnnotation> FindDeclaredVocabularyAnnotations(
IEdmVocabularyAnnotatable element
)
public:
virtual IEnumerable<IEdmVocabularyAnnotation^>^ FindDeclaredVocabularyAnnotations(
IEdmVocabularyAnnotatable^ element
)
abstract FindDeclaredVocabularyAnnotations :
element:IEdmVocabularyAnnotatable -> IEnumerable<IEdmVocabularyAnnotation>
override FindDeclaredVocabularyAnnotations :
element:IEdmVocabularyAnnotatable -> IEnumerable<IEdmVocabularyAnnotation>
public function FindDeclaredVocabularyAnnotations(
element : IEdmVocabularyAnnotatable
) : IEnumerable<IEdmVocabularyAnnotation>
参数
- element
类型:Microsoft.Data.Edm.IEdmVocabularyAnnotatable
已进行批注的元素。
返回值
类型:System.Collections.Generic.IEnumerable<IEdmVocabularyAnnotation>
元素的词汇批注。
实现
IEdmModel.FindDeclaredVocabularyAnnotations(IEdmVocabularyAnnotatable)