Export (0) Print
Expand All

IntrospectionExtensions::GetTypeInfo Method

.NET Framework 4.5

Returns the TypeInfo representation of the specified type.

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

[ExtensionAttribute]
public:
static TypeInfo^ GetTypeInfo(
	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. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Getting a TypeInfo object will always load the type.

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft