Share via


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
System_CAPS_pubmethod ODataNavigationLink()

Initializes a new instance of the ODataNavigationLink class.

Properties

Name Description
System_CAPS_pubproperty AssociationLinkUrl

Gets or sets the association link URL for this navigation link.

System_CAPS_pubproperty IsCollection

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

System_CAPS_pubproperty Name

Gets or sets the name of the link.

System_CAPS_pubproperty Url

Gets or sets the URI representing the Unified Resource Locator (URL) of the link.

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

Extension Methods

Name Description
System_CAPS_pubmethod 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