IntrospectionExtensions.GetTypeInfo(Type) 方法

定义

返回指定类型的 TypeInfo 表示形式。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Reflection::TypeInfo ^ GetTypeInfo(Type ^ type);
public static System.Reflection.TypeInfo GetTypeInfo (this Type type);
static member GetTypeInfo : Type -> System.Reflection.TypeInfo
<Extension()>
Public Function GetTypeInfo (type As Type) As TypeInfo

参数

type
Type

要转换的类型。

返回

TypeInfo

被转换的对象。

注解

TypeInfo获取对象将始终加载该类型。

适用于