Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents an EDM type annotation.
Inheritance Hierarchy
System.Object
Microsoft.Data.Edm.Library.EdmElement
Microsoft.Data.Edm.Library.Annotations.EdmVocabularyAnnotation
Microsoft.Data.Edm.Library.Annotations.EdmTypeAnnotation
Namespace: Microsoft.Data.Edm.Library.Annotations
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Class EdmTypeAnnotation _
Inherits EdmVocabularyAnnotation _
Implements IEdmTypeAnnotation, IEdmVocabularyAnnotation, IEdmElement
'Usage
Dim instance As EdmTypeAnnotation
public class EdmTypeAnnotation : EdmVocabularyAnnotation,
IEdmTypeAnnotation, IEdmVocabularyAnnotation, IEdmElement
public ref class EdmTypeAnnotation : public EdmVocabularyAnnotation,
IEdmTypeAnnotation, IEdmVocabularyAnnotation, IEdmElement
type EdmTypeAnnotation =
class
inherit EdmVocabularyAnnotation
interface IEdmTypeAnnotation
interface IEdmVocabularyAnnotation
interface IEdmElement
end
public class EdmTypeAnnotation extends EdmVocabularyAnnotation implements IEdmTypeAnnotation, IEdmVocabularyAnnotation, IEdmElement
The EdmTypeAnnotation type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
EdmTypeAnnotation(IEdmVocabularyAnnotatable, IEdmTerm, array<IEdmPropertyValueBinding[]) | Initializes a new instance of the EdmTypeAnnotation class. |
![]() |
EdmTypeAnnotation(IEdmVocabularyAnnotatable, IEdmTerm, String, array<IEdmPropertyValueBinding[]) | Initializes a new instance of the EdmTypeAnnotation class. |
![]() |
EdmTypeAnnotation(IEdmVocabularyAnnotatable, IEdmTerm, String, IEnumerable<IEdmPropertyValueBinding>) | Initializes a new instance of the EdmTypeAnnotation class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
PropertyValueBindings | Gets the value annotations for the properties of the type. |
![]() |
Qualifier | Gets or sets the qualifier used to discriminate between multiple bindings of the same property or type. (Inherited from EdmVocabularyAnnotation.) |
![]() |
Target | Gets or sets the element the annotation applies to. (Inherited from EdmVocabularyAnnotation.) |
![]() |
Term | Gets or sets the term bound by the annotation. (Inherited from EdmVocabularyAnnotation.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
![]() |
Errors | Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type. (Defined by ValidationExtensionMethods.) |
![]() |
FindPropertyBinding(String) | Overloaded. Gets the binding of a property of the type term of a type annotation. (Defined by ExtensionMethods.) |
![]() |
FindPropertyBinding(IEdmProperty) | Overloaded. Gets the binding of a property of the type term of a type annotation. (Defined by ExtensionMethods.) |
![]() |
GetSchemaNamespace | Gets the schema an annotation should be serialized in. (Defined by SerializationExtensionMethods.) |
![]() |
GetSerializationLocation | Gets the location an annotation should be serialized in. (Defined by SerializationExtensionMethods.) |
![]() |
IsBad | Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.) |
![]() |
Location | Gets the location of the specified item. (Defined by ExtensionMethods.) |
![]() |
SetSchemaNamespace | Sets the schema an annotation should appear in. (Defined by SerializationExtensionMethods.) |
![]() |
SetSerializationLocation | Sets the location an annotation should be serialized in. (Defined by SerializationExtensionMethods.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.