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)


<ExtensionAttribute> _
Public Shared Function Atom ( _
    navigationLink As ODataNavigationLink _
) As AtomLinkMetadata
Dim navigationLink As ODataNavigationLink 
Dim returnValue As AtomLinkMetadata 

returnValue = navigationLink.Atom()
public static AtomLinkMetadata Atom(
    this ODataNavigationLink navigationLink
static AtomLinkMetadata^ Atom(
    ODataNavigationLink^ navigationLink
static member Atom : 
        navigationLink:ODataNavigationLink -> AtomLinkMetadata
public static function Atom(
    navigationLink : ODataNavigationLink
) : AtomLinkMetadata


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.113) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.113).

See Also


ExtensionMethods Class

Atom Overload

Microsoft.Data.OData.Atom Namespace