Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetTypeInfo Method
Collapse the table of content
Expand the table of content

IntrospectionExtensions.GetTypeInfo Method

.NET Framework 4.6 and 4.5

Returns the TypeInfo representation of the specified type.

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

static member GetTypeInfo : 
        type:Type -> 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. 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

.NET for Windows Phone apps

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