DBConvert::ChangeType<T> Method (Object^)

 
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.

This API supports the product infrastructure and is not intended to be used directly from your code.

Changes the specified value to the current type.

Namespace:   System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public:
generic<typename T>
static T ChangeType(
	Object^ value
)

Parameters

value
Type: System::Object^

The object to be converted.

Return Value

Type: T

An object of the specified type that contains the converted value.

Type Parameters

T

The type to change to.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: