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