ExtensionMethods.Atom Method (ODataNavigationLink)
Determines an extension method to get the AtomLinkMetadata for an annotatable navigation link.
Namespace: Microsoft.Data.OData.Atom
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Atom ( _
navigationLink As ODataNavigationLink _
) As AtomLinkMetadata
'Usage
Dim navigationLink As ODataNavigationLink
Dim returnValue As AtomLinkMetadata
returnValue = navigationLink.Atom()
public static AtomLinkMetadata Atom(
this ODataNavigationLink navigationLink
)
[ExtensionAttribute]
public:
static AtomLinkMetadata^ Atom(
ODataNavigationLink^ navigationLink
)
static member Atom :
navigationLink:ODataNavigationLink -> AtomLinkMetadata
public static function Atom(
navigationLink : ODataNavigationLink
) : AtomLinkMetadata
Parameters
- navigationLink
Type: Microsoft.Data.OData.ODataNavigationLink
The navigation link instance 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 ODataNavigationLink. 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).