ExtensionMethods.FindVocabularyAnnotationsIncludingInheritedAnnotations 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得可註釋元素的詞彙註釋,這些註釋是在特定模型及該模型所參考的模型中定義的。
public static System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation> FindVocabularyAnnotationsIncludingInheritedAnnotations (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element);
static member FindVocabularyAnnotationsIncludingInheritedAnnotations : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable -> seq<Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation>
<Extension()>
Public Function FindVocabularyAnnotationsIncludingInheritedAnnotations (model As IEdmModel, element As IEdmVocabularyAnnotatable) As IEnumerable(Of IEdmVocabularyAnnotation)
參數
- model
- IEdmModel
要搜尋的模型。
- element
- IEdmVocabularyAnnotatable
要檢查是否有註釋的元素。
傳回
附加至專案 (的注釋,如果專案是類型,則附加至其基底型別) 此模型或此模型所參考的模型。