ExtensionMethods.FindVocabularyAnnotations 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
FindVocabularyAnnotations(IEdmModel, IEdmVocabularyAnnotatable) |
取得可註釋元素的詞彙註釋,這些註釋是在特定模型及該模型所參考的模型中定義的。 |
FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, String, String) |
取得繫結特定字詞之可註釋元素的詞彙註釋。 |
FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm, String) |
取得繫結特定字詞之可註釋元素的詞彙註釋。 |
FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, String) |
取得繫結特定字詞之可註釋元素的詞彙註釋。 |
FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm) |
取得繫結特定字詞之可註釋元素的詞彙註釋。 |
FindVocabularyAnnotations(IEdmModel, IEdmVocabularyAnnotatable)
取得可註釋元素的詞彙註釋,這些註釋是在特定模型及該模型所參考的模型中定義的。
public static System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation> FindVocabularyAnnotations (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element);
static member FindVocabularyAnnotations : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable -> seq<Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation>
<Extension()>
Public Function FindVocabularyAnnotations (model As IEdmModel, element As IEdmVocabularyAnnotatable) As IEnumerable(Of IEdmVocabularyAnnotation)
參數
- model
- IEdmModel
要搜尋的模型。
- element
- IEdmVocabularyAnnotatable
要檢查是否有註釋的元素。
傳回
此模型或由此模型參考的模型附加至元素的注釋。
適用於
FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, String, String)
取得繫結特定字詞之可註釋元素的詞彙註釋。
public static System.Collections.Generic.IEnumerable<T> FindVocabularyAnnotations<T> (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element, string termName, string qualifier) where T : Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation;
static member FindVocabularyAnnotations : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable * string * string -> seq<'T (requires 'T :> Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation)> (requires 'T :> Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation)
<Extension()>
Public Iterator Function FindVocabularyAnnotations(Of T As IEdmVocabularyAnnotation) (model As IEdmModel, element As IEdmVocabularyAnnotatable, termName As String, qualifier As String) As IEnumerable(Of T)
類型參數
- T
所要傳回之註釋的型別。
參數
- model
- IEdmModel
要搜尋的模型。
- element
- IEdmVocabularyAnnotatable
要檢查是否有註釋的元素。
- termName
- String
要搜尋的字詞名稱。
- qualifier
- String
要套用的限定詞。
傳回
IEnumerable<T>
附加至此模型之元素的注釋,或是系結字詞與指定限定詞之模型所參考的模型。
適用於
FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm, String)
取得繫結特定字詞之可註釋元素的詞彙註釋。
public static System.Collections.Generic.IEnumerable<T> FindVocabularyAnnotations<T> (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element, Microsoft.OData.Edm.Vocabularies.IEdmTerm term, string qualifier) where T : Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation;
static member FindVocabularyAnnotations : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable * Microsoft.OData.Edm.Vocabularies.IEdmTerm * string -> seq<'T (requires 'T :> Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation)> (requires 'T :> Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation)
<Extension()>
Public Function FindVocabularyAnnotations(Of T As IEdmVocabularyAnnotation) (model As IEdmModel, element As IEdmVocabularyAnnotatable, term As IEdmTerm, qualifier As String) As IEnumerable(Of T)
類型參數
- T
所要傳回之註釋的型別。
參數
- model
- IEdmModel
要搜尋的模型。
- element
- IEdmVocabularyAnnotatable
要檢查是否有註釋的元素。
- term
- IEdmTerm
要搜尋的字詞。
- qualifier
- String
要套用的限定詞。
傳回
IEnumerable<T>
附加至此模型之元素的注釋,或是系結字詞與指定限定詞之模型所參考的模型。
適用於
FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, String)
取得繫結特定字詞之可註釋元素的詞彙註釋。
public static System.Collections.Generic.IEnumerable<T> FindVocabularyAnnotations<T> (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element, string termName) where T : Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation;
static member FindVocabularyAnnotations : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable * string -> seq<'T (requires 'T :> Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation)> (requires 'T :> Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation)
<Extension()>
Public Function FindVocabularyAnnotations(Of T As IEdmVocabularyAnnotation) (model As IEdmModel, element As IEdmVocabularyAnnotatable, termName As String) As IEnumerable(Of T)
類型參數
- T
所要傳回之註釋的型別。
參數
- model
- IEdmModel
要搜尋的模型。
- element
- IEdmVocabularyAnnotatable
要檢查是否有註釋的元素。
- termName
- String
要搜尋的字詞名稱。
傳回
IEnumerable<T>
此模型或此模型所參考之模型附加至元素且繫結該字詞的註釋。
適用於
FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm)
取得繫結特定字詞之可註釋元素的詞彙註釋。
public static System.Collections.Generic.IEnumerable<T> FindVocabularyAnnotations<T> (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable element, Microsoft.OData.Edm.Vocabularies.IEdmTerm term) where T : Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation;
static member FindVocabularyAnnotations : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable * Microsoft.OData.Edm.Vocabularies.IEdmTerm -> seq<'T (requires 'T :> Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation)> (requires 'T :> Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation)
<Extension()>
Public Function FindVocabularyAnnotations(Of T As IEdmVocabularyAnnotation) (model As IEdmModel, element As IEdmVocabularyAnnotatable, term As IEdmTerm) As IEnumerable(Of T)
類型參數
- T
所要傳回之註釋的型別。
參數
- model
- IEdmModel
要搜尋的模型。
- element
- IEdmVocabularyAnnotatable
要檢查是否有註釋的元素。
- term
- IEdmTerm
要搜尋的字詞。
傳回
IEnumerable<T>
此模型或此模型所參考之模型附加至元素且繫結該字詞的註釋。