ODataUtils.StringToODataVersion Method
Displays a string to OData version representation.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Shared Function StringToODataVersion ( _
version As String _
) As ODataVersion
'Usage
Dim version As String
Dim returnValue As ODataVersion
returnValue = ODataUtils.StringToODataVersion(version)
public static ODataVersion StringToODataVersion(
string version
)
public:
static ODataVersion StringToODataVersion(
String^ version
)
static member StringToODataVersion :
version:string -> ODataVersion
public static function StringToODataVersion(
version : String
) : ODataVersion
Parameters
- version
Type: System.String
The OData version.
Return Value
Type: Microsoft.Data.OData.ODataVersion
The OData version.