Share via


ODataNavigationLink.IsCollection Property

Gets or sets a value that indicates whether the navigation link represents a collection or an entry.

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

Syntax

'Declaration
Public Property IsCollection As Nullable(Of Boolean)
    Get 
    Set
'Usage
Dim instance As ODataNavigationLink 
Dim value As Nullable(Of Boolean)

value = instance.IsCollection

instance.IsCollection = value
public Nullable<bool> IsCollection { get; set; }
public:
property Nullable<bool> IsCollection {
    Nullable<bool> get ();
    void set (Nullable<bool> value);
}
member IsCollection : Nullable<bool> with get, set
function get IsCollection () : Nullable<boolean>
function set IsCollection (value : Nullable<boolean>)

Property Value

Type: System.Nullable<Boolean>
true if the navigation link represents a collection; false if the navigation represents an entry.

Remarks

This property is required to have a value for Atom payloads and is optional for JSON payloads.

See Also

Reference

ODataNavigationLink Class

Microsoft.Data.OData Namespace