共用方式為


IEdmModel.FindDeclaredVocabularyAnnotations 方法

搜尋此模型指定的詞彙註釋。

命名空間:  Microsoft.Data.Edm
組件:  Microsoft.Data.Edm (在 Microsoft.Data.Edm.dll 中)

語法

'宣告
Function FindDeclaredVocabularyAnnotations ( _
    element As IEdmVocabularyAnnotatable _
) As IEnumerable(Of IEdmVocabularyAnnotation)
'用途
Dim instance As IEdmModel
Dim element As IEdmVocabularyAnnotatable
Dim returnValue As IEnumerable(Of IEdmVocabularyAnnotation)

returnValue = instance.FindDeclaredVocabularyAnnotations(element)
IEnumerable<IEdmVocabularyAnnotation> FindDeclaredVocabularyAnnotations(
    IEdmVocabularyAnnotatable element
)
IEnumerable<IEdmVocabularyAnnotation^>^ FindDeclaredVocabularyAnnotations(
    IEdmVocabularyAnnotatable^ element
)
abstract FindDeclaredVocabularyAnnotations : 
        element:IEdmVocabularyAnnotatable -> IEnumerable<IEdmVocabularyAnnotation> 
function FindDeclaredVocabularyAnnotations(
    element : IEdmVocabularyAnnotatable
) : IEnumerable<IEdmVocabularyAnnotation>

參數

傳回值

型別:System.Collections.Generic.IEnumerable<IEdmVocabularyAnnotation>
元素的詞彙註釋。

請參閱

參考

IEdmModel 介面

Microsoft.Data.Edm 命名空間