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.

適用於