IntrospectionExtensions.GetTypeInfo(Type) IntrospectionExtensions.GetTypeInfo(Type) IntrospectionExtensions.GetTypeInfo(Type) Method

定义

返回指定类型的 TypeInfo 表示形式。Returns the TypeInfo representation of the specified type.

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

参数

type
Type Type Type

要转换的类型。The type to convert.

返回

被转换的对象。The converted object.

注解

TypeInfo获取对象将始终加载该类型。Getting a TypeInfo object will always load the type.

适用于