Udostępnij za pośrednictwem


ODataItem Class

Represents the base class for ODataFeed and ODataEntry classes.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.ODataItem
      Microsoft.Data.OData.ODataEntityReferenceLink
      Microsoft.Data.OData.ODataEntry
      Microsoft.Data.OData.ODataFeed
      Microsoft.Data.OData.ODataNavigationLink

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

Syntax

'Declaration
Public MustInherit Class ODataItem _
    Inherits ODataAnnotatable
'Usage
Dim instance As ODataItem
public abstract class ODataItem : ODataAnnotatable
public ref class ODataItem abstract : public ODataAnnotatable
[<AbstractClassAttribute>]
type ODataItem =  
    class 
        inherit ODataAnnotatable 
    end
public abstract class ODataItem extends ODataAnnotatable

The ODataItem type exposes the following members.

Constructors

  Name Description
Protected method ODataItem Initializes a new instance of the ODataItem class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (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.)
Protected method MemberwiseClone (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