ExtensionMethods.VocabularyAnnotations 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得從特定模型中所見之可註釋元素的詞彙註釋。
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
要檢查注釋的模型。
傳回
依模型或模型所參考的模型附加至元素的批註。