ExtensionMethods.Atom Method (ODataAssociationLink)
Determines an extension method to get the AtomLinkMetadata for an annotatable association link.
Namespace: Microsoft.Data.OData.Atom
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Atom ( _
associationLink As ODataAssociationLink _
) As AtomLinkMetadata
'Usage
Dim associationLink As ODataAssociationLink
Dim returnValue As AtomLinkMetadata
returnValue = associationLink.Atom()
public static AtomLinkMetadata Atom(
this ODataAssociationLink associationLink
)
[ExtensionAttribute]
public:
static AtomLinkMetadata^ Atom(
ODataAssociationLink^ associationLink
)
static member Atom :
associationLink:ODataAssociationLink -> AtomLinkMetadata
public static function Atom(
associationLink : ODataAssociationLink
) : AtomLinkMetadata
Parameters
- associationLink
Type: Microsoft.Data.OData.ODataAssociationLink
The association link to get the annotation from.
Return Value
Type: Microsoft.Data.OData.Atom.AtomLinkMetadata
An AtomLinkMetadata instance or null if no annotation of that type exists.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ODataAssociationLink. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).