ToGenericParameter(T) Method

Conversions.ToGenericParameter<T> Method

Converts an object to a generic type T.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public static T ToGenericParameter<T>(
	Object Value
)

Type Parameters

T

The type to convert Value to.

Parameters

Value
Type: System.Object
The object to convert.

Return Value

Type: T
A structure or object of generic type T.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2016 Microsoft