ODataAnnotatable 类

表示 OData 库中所有可批注类型的基类。

继承层次结构

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    更多信息...

命名空间:  Microsoft.Data.OData
程序集:  Microsoft.Data.OData(在 Microsoft.Data.OData.dll 中)

语法

声明
Public MustInherit Class ODataAnnotatable
用法
Dim instance As ODataAnnotatable
public abstract class ODataAnnotatable
public ref class ODataAnnotatable abstract
[<AbstractClassAttribute>]
type ODataAnnotatable =  class end
public abstract class ODataAnnotatable

ODataAnnotatable 类型公开以下成员。

构造函数

  名称 说明
受保护方法 ODataAnnotatable 创建 ODataAnnotatable 类的新实例。

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetAnnotation<T> 获取或设置批注类型。
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 SetAnnotation<T> 设置类型 T 的批注。
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.Data.OData 命名空间

继承层次结构

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.Atom.AtomCategoryMetadata
    Microsoft.Data.OData.Atom.AtomEntryMetadata
    Microsoft.Data.OData.Atom.AtomFeedMetadata
    Microsoft.Data.OData.Atom.AtomLinkMetadata
    Microsoft.Data.OData.Atom.AtomPersonMetadata
    Microsoft.Data.OData.Atom.AtomStreamReferenceMetadata
    Microsoft.Data.OData.Atom.AtomTextConstruct
    Microsoft.Data.OData.ODataAssociationLink
    Microsoft.Data.OData.ODataCollectionStart
    Microsoft.Data.OData.ODataCollectionValue
    Microsoft.Data.OData.ODataComplexValue
    Microsoft.Data.OData.ODataEntityReferenceLinks
    Microsoft.Data.OData.ODataItem
    Microsoft.Data.OData.ODataOperation
    Microsoft.Data.OData.ODataProperty
    Microsoft.Data.OData.ODataResourceCollectionInfo
    Microsoft.Data.OData.ODataStreamReferenceValue
    Microsoft.Data.OData.ODataWorkspace
    Microsoft.Data.OData.Query.ODataUriNullValue