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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.