IntrospectionExtensions.GetTypeInfo Method

July 28, 2014

Returns the TypeInfo representation of the specified type.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public static TypeInfo GetTypeInfo(
	this Type type
)

Parameters

type
Type: System.Type
The type to convert.

Return Value

Type: System.Reflection.TypeInfo
The converted object.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter.

Getting a TypeInfo object will always load the type.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2014 Microsoft