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 | |
---|---|---|
ODataSingletonInfo() | Initializes a new instance of the ODataSingletonInfo class. |
Properties
Name | Description | |
---|---|---|
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.) |
|
Title | Gets or sets the title of the element; this is the title in JSON.(Inherited from ODataServiceDocumentElement.) |
|
Url | Gets or sets the URI representing the Unified Resource Locator (URL) to the element.(Inherited from ODataServiceDocumentElement.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetAnnotation<T>() | Gets or sets the annotation by type.(Inherited from ODataAnnotatable.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
SetAnnotation<T>(T) | Sets an annotation of type T.(Inherited from ODataAnnotatable.) |
|
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