Windows Dev Center

IntrospectionExtensions.GetTypeInfo Method

Returns the TypeInfo representation of the specified type.

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

'Declaration
<ExtensionAttribute> _
Public Shared Function GetTypeInfo ( _
	type As Type _
) As TypeInfo

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