Freigeben über


ODataNavigationLink.IsCollection-Eigenschaft

Ruft einen Wert ab, der angibt, ob der Navigationslink eine Auflistung oder einen Eintrag darstellt, oder legt ihn fest.

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>)

Eigenschaftswert

Typ: System.Nullable<Boolean>
true , wenn der Navigationslink eine Auflistung darstellt; false, wenn die Navigation einen Eintrag darstellt.

Hinweise

Diese Eigenschaft ist erforderlich, um über einen Wert für Atom-Nutzlasten zu verfügen und ist für JSON-Nutzlasten optional.

Siehe auch

Verweis

ODataNavigationLink Klasse

Microsoft.Data.OData-Namespace