ODataNavigationLink Class
Represents a single link.
Namespace: Microsoft.OData.Core
Assembly: Microsoft.OData.Core (in Microsoft.OData.Core.dll)
Inheritance Hierarchy
System.Object
Microsoft.OData.Core.ODataAnnotatable
Microsoft.OData.Core.ODataItem
Microsoft.OData.Core.ODataNavigationLink
Syntax
[DebuggerDisplayAttribute("{Name}")]
public sealed class ODataNavigationLink : ODataItem
[DebuggerDisplayAttribute("{Name}")]
public ref class ODataNavigationLink sealed : ODataItem
[<Sealed>]
[<DebuggerDisplayAttribute("{Name}")>]
type ODataNavigationLink =
class
inherit ODataItem
end
<DebuggerDisplayAttribute("{Name}")>
Public NotInheritable Class ODataNavigationLink
Inherits ODataItem
Constructors
Name | Description | |
---|---|---|
ODataNavigationLink() | Initializes a new instance of the ODataNavigationLink class. |
Properties
Name | Description | |
---|---|---|
AssociationLinkUrl | Gets or sets the association link URL for this navigation link. |
|
IsCollection | Gets or sets a value that indicates whether the navigation link represents a collection or an entry. |
|
Name | Gets or sets the name of the link. |
|
Url | Gets or sets the URI representing the Unified Resource Locator (URL) of the link. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetAnnotation<T>() | Gets or sets the annotation by type.(Inherited from ODataAnnotatable.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
SetAnnotation<T>(T) | Sets an annotation of type T.(Inherited from ODataAnnotatable.) |
|
ToString() | (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
Atom() | Overloaded. Determines an extension method to get the AtomLinkMetadata for an annotatable navigation link.(Defined by ExtensionMethods.) |
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