OpenTypeMethods.Convert Method (Object, ResourceType)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Converts a value to the specified type.

Namespace:   System.Data.Services.Providers
Assembly:  System.Data.Services (in System.Data.Services.dll)

public static object Convert(
	object value,
	ResourceType type
)

Parameters

value
Type: System.Object

Value to convert.

type
Type: System.Data.Services.Providers.ResourceType

Resource type for the conversion.

Return Value

Type: System.Object

The converted value.

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

.NET Framework
Available since 3.5
Return to top
Show: