IntrospectionExtensions.GetTypeInfo(Type) 方法

定義

傳回指定之型別的 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

要轉換的型別。The type to convert.

傳回

轉換的物件。The converted object.

備註

TypeInfo取得物件一律會載入型別。Getting a TypeInfo object will always load the type.

適用於