共用方式為


ExtensionMethods.VocabularyAnnotations 方法

定義

取得從特定模型中所見之可註釋元素的詞彙註釋。

public static System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation> VocabularyAnnotations (this Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element, Microsoft.OData.Edm.IEdmModel model);
static member VocabularyAnnotations : Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable * Microsoft.OData.Edm.IEdmModel -> seq<Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation>
<Extension()>
Public Function VocabularyAnnotations (element As IEdmVocabularyAnnotatable, model As IEdmModel) As IEnumerable(Of IEdmVocabularyAnnotation)

參數

element
IEdmVocabularyAnnotatable

呼叫物件的參考。

model
IEdmModel

要檢查注釋的模型。

傳回

依模型或模型所參考的模型附加至元素的批註。

適用於