Edit

Share via


OpenTypeMethods.Convert(Object, ResourceType) Method

Definition

Converts a value to the 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

Value to convert.

type
ResourceType

Resource type for the conversion.

Returns

The converted value.

Remarks

The Convert method is used to perform a type cast on the specified value.

Applies to