EdmModelBase.FindDeclaredVocabularyAnnotations 方法
搜尋此模型或指定元素之參考模型所指定的詞彙註釋。
命名空間: 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)