Share via


ODataNavigationLink Class

Represents a single link.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.ODataItem
      Microsoft.Data.OData.ODataNavigationLink

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

Syntax

'Declaration
<DebuggerDisplayAttribute("{Name}")> _
Public NotInheritable Class ODataNavigationLink _
    Inherits ODataItem
'Usage
Dim instance As ODataNavigationLink
[DebuggerDisplayAttribute("{Name}")]
public sealed class ODataNavigationLink : ODataItem
[DebuggerDisplayAttribute(L"{Name}")]
public ref class ODataNavigationLink sealed : public ODataItem
[<SealedAttribute>]
[<DebuggerDisplayAttribute("{Name}")>]
type ODataNavigationLink =  
    class 
        inherit ODataItem 
    end
public final class ODataNavigationLink extends ODataItem

The ODataNavigationLink type exposes the following members.

Constructors

  Name Description
Public method ODataNavigationLink Initializes a new instance of the ODataNavigationLink class.

Top

Properties

  Name Description
Public property AssociationLinkUrl The association link URL for this navigation link.
Public property IsCollection Gets or sets a value that indicates whether the navigation link represents a collection or an entry.
Public property Name Gets or sets the name of the link.
Public property Url Gets or sets the URI representing the Unified Resource Locator (URL) of the link.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetAnnotation<T> Gets or sets the annotation by type. (Inherited from ODataAnnotatable.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method SetAnnotation<T> Sets an annotation of type T. (Inherited from ODataAnnotatable.)
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method Atom Determines an extension method to get the AtomLinkMetadata for an annotatable navigation link. (Defined by ExtensionMethods.)

Top

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

Reference

Microsoft.Data.OData Namespace