共用方式為


ExtensionMethods.FindVocabularyAnnotationsIncludingInheritedAnnotations 方法

定義

取得可註釋元素的詞彙註釋,這些註釋是在特定模型及該模型所參考的模型中定義的。

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

要檢查是否有註釋的元素。

傳回

附加至專案 (的注釋,如果專案是類型,則附加至其基底型別) 此模型或此模型所參考的模型。

適用於