ChangeType(T) Method (Object)
Collapse the table of content
Expand the table of content

DBConvert.ChangeType<T> Method (Object)

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

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Changes the specified value to the current type.

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

public static T ChangeType<T>(
	Object value
)

Type Parameters

T

The type to change to.

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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft