DataServiceProviderMethods.Convert(Object, ResourceType) Method

Definition

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