ODataResourceCollectionInfo Class

Represents a class that contains collection of information about a resource in a workspace of a data service.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.ODataResourceCollectionInfo

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

Syntax

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

The ODataResourceCollectionInfo type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Name Gets or sets the name of the collection; this is the entity set name in JSON and the HREF in Atom.
Public property Url Gets or sets the URI representing the Unified Resource Locator (URL) to the collection.

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

Extension Methods

  Name Description
Public Extension Method Atom Determines an extension method to get the AtomResourceCollectionMetadata for an annotatable (resource) collection. (Defined by ExtensionMethods.)

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