Share via


ExtensionMethods.FindVocabularyAnnotations Method

Definition

Overloads

FindVocabularyAnnotations(IEdmModel, IEdmVocabularyAnnotatable)

Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model.

FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, String, String)

Gets an annotatable element's vocabulary annotations that bind a particular term.

FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm, String)

Gets an annotatable element's vocabulary annotations that bind a particular term.

FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, String)

Gets an annotatable element's vocabulary annotations that bind a particular term.

FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm)

Gets an annotatable element's vocabulary annotations that bind a particular term.

FindVocabularyAnnotations(IEdmModel, IEdmVocabularyAnnotatable)

Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model.

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)

Parameters

model
IEdmModel

The model to search.

element
IEdmVocabularyAnnotatable

Element to check for annotations.

Returns

Annotations attached to the element by this model or by models referenced by this model.

Applies to

FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, String, String)

Gets an annotatable element's vocabulary annotations that bind a particular term.

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)

Type Parameters

T

Type of the annotation being returned.

Parameters

model
IEdmModel

Model to search.

element
IEdmVocabularyAnnotatable

Element to check for annotations.

termName
String

Name of the term to search for.

qualifier
String

Qualifier to apply.

Returns

Annotations attached to the element by this model or by models referenced by this model that bind the term with the given qualifier.

Applies to

FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm, String)

Gets an annotatable element's vocabulary annotations that bind a particular term.

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)

Type Parameters

T

Type of the annotation being returned.

Parameters

model
IEdmModel

Model to search.

element
IEdmVocabularyAnnotatable

Element to check for annotations.

term
IEdmTerm

Term to search for.

qualifier
String

Qualifier to apply.

Returns

Annotations attached to the element by this model or by models referenced by this model that bind the term with the given qualifier.

Applies to

FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, String)

Gets an annotatable element's vocabulary annotations that bind a particular term.

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)

Type Parameters

T

Type of the annotation being returned.

Parameters

model
IEdmModel

Model to search.

element
IEdmVocabularyAnnotatable

Element to check for annotations.

termName
String

Name of the term to search for.

Returns

Annotations attached to the element by this model or by models referenced by this model that bind the term.

Applies to

FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm)

Gets an annotatable element's vocabulary annotations that bind a particular term.

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)

Type Parameters

T

Type of the annotation being returned.

Parameters

model
IEdmModel

Model to search.

element
IEdmVocabularyAnnotatable

Element to check for annotations.

term
IEdmTerm

Term to search for.

Returns

Annotations attached to the element by this model or by models referenced by this model that bind the term.

Applies to