Share via


ODataInstanceAnnotation Class

Represents an instance annotation.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.ODataInstanceAnnotation

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public NotInheritable Class ODataInstanceAnnotation _
    Inherits ODataAnnotatable
'Usage
Dim instance As ODataInstanceAnnotation
public sealed class ODataInstanceAnnotation : ODataAnnotatable
public ref class ODataInstanceAnnotation sealed : public ODataAnnotatable
[<SealedAttribute>]
type ODataInstanceAnnotation =  
    class 
        inherit ODataAnnotatable 
    end
public final class ODataInstanceAnnotation extends ODataAnnotatable

The ODataInstanceAnnotation type exposes the following members.

Constructors

  Name Description
Public method ODataInstanceAnnotation Initializes a new instance of the ODataInstanceAnnotation class.

Top

Properties

  Name Description
Public property Name Gets or sets the instance annotation name.
Public property Value Gets or sets the instance annotation value.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetAnnotation<T> Gets or sets the annotation by type. (Inherited from ODataAnnotatable.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method SetAnnotation<T> Sets an annotation of type T. (Inherited from ODataAnnotatable.)
Public method ToString (Inherited from Object.)

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.

See Also

Reference

Microsoft.Data.OData Namespace