DataServiceProviderMethods.Convert(Object, ResourceType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Casts a value to a specified type.
public:
static System::Object ^ Convert(System::Object ^ value, System::Data::Services::Providers::ResourceType ^ type);
public static object Convert (object value, System.Data.Services.Providers.ResourceType type);
static member Convert : obj * System.Data.Services.Providers.ResourceType -> obj
Public Shared Function Convert (value As Object, type As ResourceType) As Object
Parameters
- value
- Object
The value to cast to the requested type
.
- type
- ResourceType
Resource type for which to check.
Returns
The value
cast to the requested type
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.