ExtensionMethods.Atom Method (ODataFeed)

Determines an extension method to get the AtomFeedMetadata for an annotatable feed.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Atom ( _
    feed As ODataFeed _
) As AtomFeedMetadata
'Usage
Dim feed As ODataFeed 
Dim returnValue As AtomFeedMetadata 

returnValue = feed.Atom()
public static AtomFeedMetadata Atom(
    this ODataFeed feed
)
[ExtensionAttribute]
public:
static AtomFeedMetadata^ Atom(
    ODataFeed^ feed
)
static member Atom : 
        feed:ODataFeed -> AtomFeedMetadata
public static function Atom(
    feed : ODataFeed
) : AtomFeedMetadata

Parameters

Return Value

Type: Microsoft.Data.OData.Atom.AtomFeedMetadata
An AtomFeedMetadata 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 ODataFeed. 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).

See Also

Reference

ExtensionMethods Class

Atom Overload

Microsoft.Data.OData.Atom Namespace