ODataNavigationLinkWithItems Class
Encapsulates an ODataNavigationLink and the list of nested items.
Namespace: System.Web.OData.Formatter.Deserialization
Assembly: System.Web.OData (in System.Web.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.OData.Formatter.Deserialization.ODataItemBase
System.Web.OData.Formatter.Deserialization.ODataNavigationLinkWithItems
Syntax
public sealed class ODataNavigationLinkWithItems : ODataItemBase
public ref class ODataNavigationLinkWithItems sealed : ODataItemBase
[<Sealed>]
type ODataNavigationLinkWithItems =
class
inherit ODataItemBase
end
Public NotInheritable Class ODataNavigationLinkWithItems
Inherits ODataItemBase
Constructors
Name | Description | |
---|---|---|
ODataNavigationLinkWithItems(ODataNavigationLink) | Initializes a new instance of ODataNavigationLinkWithItems. |
Properties
Name | Description | |
---|---|---|
Item | Gets the wrapped ODataItem.(Inherited from ODataItemBase.) |
|
NavigationLink | Gets the wrapped ODataNavigationLink. |
|
NestedItems | Gets the nested items that are part of this navigation link. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Remarks
A navigation link for a singleton navigation property can only contain one item - either ODataEntry or ODataEntityReferenceLink. A navigation link for a collection navigation property can contain any number of items - each is either ODataFeed or ODataEntityReferenceLink.
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
System.Web.OData.Formatter.Deserialization Namespace
Return to top