Share via


ODataAssociationLink Class

Represents an association link.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.ODataAssociationLink

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

Syntax

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

The ODataAssociationLink type exposes the following members.

Constructors

  Name Description
Public method ODataAssociationLink Creates a new instance of the ODataAssociationLink class.

Top

Properties

  Name Description
Public property Name Gets or sets the name of the association 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 association 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