GetTypeInfo Method
Collapse the table of content
Expand the table of content

IntrospectionExtensions.GetTypeInfo Method

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

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:
© 2016 Microsoft