Share via


ODataSingletonInfo Class

 

Represents a singleton in a service document.

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

Inheritance Hierarchy

System.Object
  Microsoft.OData.Core.ODataAnnotatable
    Microsoft.OData.Core.ODataServiceDocumentElement
      Microsoft.OData.Core.ODataSingletonInfo

Syntax

public sealed class ODataSingletonInfo : ODataServiceDocumentElement
public ref class ODataSingletonInfo sealed : ODataServiceDocumentElement
[<Sealed>]
type ODataSingletonInfo = 
    class
        inherit ODataServiceDocumentElement
    end
Public NotInheritable Class ODataSingletonInfo
    Inherits ODataServiceDocumentElement

Constructors

Name Description
System_CAPS_pubmethod ODataSingletonInfo()

Initializes a new instance of the ODataSingletonInfo class.

Properties

Name Description
System_CAPS_pubproperty Name

Gets or sets the name of the element; this is the entity set or singleton name in JSON and the HREF in Atom.(Inherited from ODataServiceDocumentElement.)

System_CAPS_pubproperty Title

Gets or sets the title of the element; this is the title in JSON.(Inherited from ODataServiceDocumentElement.)

System_CAPS_pubproperty Url

Gets or sets the URI representing the Unified Resource Locator (URL) to the element.(Inherited from ODataServiceDocumentElement.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetAnnotation<T>()

Gets or sets the annotation by type.(Inherited from ODataAnnotatable.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod SetAnnotation<T>(T)

Sets an annotation of type T.(Inherited from ODataAnnotatable.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

Microsoft.OData.Core Namespace

Return to top