GetHttpMethod Method
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetHttpMethod ( _
annotatable As IEdmAnnotatable _
) As String
'Usage
Dim annotatable As IEdmAnnotatable
Dim returnValue As String
returnValue = annotatable.GetHttpMethod()
public static string GetHttpMethod(
this IEdmAnnotatable annotatable
)
[ExtensionAttribute]
public:
static String^ GetHttpMethod(
IEdmAnnotatable^ annotatable
)
static member GetHttpMethod :
annotatable:IEdmAnnotatable -> string
public static function GetHttpMethod(
annotatable : IEdmAnnotatable
) : String
Parameters
- annotatable
Type: Microsoft.Data.Edm..::..IEdmAnnotatable
Return Value
Type: System..::..String
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmAnnotatable. 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).