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取得物件一律會載入類型。

適用於