Share via


ODataCollectionValue Class

 

Provides an OData representation of a Collection.

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

Inheritance Hierarchy

System.Object
  Microsoft.OData.Core.ODataAnnotatable
    Microsoft.OData.Core.ODataValue
      Microsoft.OData.Core.ODataCollectionValue

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod ODataCollectionValue()

Creates a new instance of the ODataCollectionValue class.

Properties

Name Description
System_CAPS_pubproperty Items

Gets or sets the items in the bag value.

System_CAPS_pubproperty TypeName

Gets or sets the type of the collection value.

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