ManagementUnit.GetTypeInformation 方法

定义

在派生类中重写时,检索当前管理范围中派生自指定基类型名称的所有类型的程序集限定类型名称。

重载

GetTypeInformation(String)

GetTypeInformation(String, Boolean, Type)在派生类中重写 方法时,检索当前管理范围中派生自指定基类型名称的所有类型的程序集限定类型名称。

GetTypeInformation(String, Boolean)

GetTypeInformation(String, Boolean, Type)在派生类中重写该方法时,检索当前管理范围中派生自指定基类型名称的所有类型的程序集限定类型名称,(可选)包括非公共类型。

GetTypeInformation(String, Boolean, Type)

在派生类中重写时,检索当前管理范围中派生自指定基类型名称的所有类型的程序集限定类型名称,可以选择包括非公共类型,并使用指定的生成器创建类型信息。

GetTypeInformation(String)

GetTypeInformation(String, Boolean, Type)在派生类中重写 方法时,检索当前管理范围中派生自指定基类型名称的所有类型的程序集限定类型名称。

public:
 cli::array <System::Object ^> ^ GetTypeInformation(System::String ^ baseTypeName);
public object[] GetTypeInformation (string baseTypeName);
member this.GetTypeInformation : string -> obj[]
Public Function GetTypeInformation (baseTypeName As String) As Object()

参数

baseTypeName
String

基类型的名称。

返回

Object[]

包含程序集限定的类型名称的对象数组。

适用于

GetTypeInformation(String, Boolean)

GetTypeInformation(String, Boolean, Type)在派生类中重写该方法时,检索当前管理范围中派生自指定基类型名称的所有类型的程序集限定类型名称,(可选)包括非公共类型。

public:
 cli::array <System::Object ^> ^ GetTypeInformation(System::String ^ baseTypeName, bool includeNonpublicTypes);
public object[] GetTypeInformation (string baseTypeName, bool includeNonpublicTypes);
member this.GetTypeInformation : string * bool -> obj[]
Public Function GetTypeInformation (baseTypeName As String, includeNonpublicTypes As Boolean) As Object()

参数

baseTypeName
String

基类型的名称。

includeNonpublicTypes
Boolean

true 以包含非公开的类型; false 如果仅包含公共类型,则为 。

返回

Object[]

包含程序集限定的类型名称的对象数组。

适用于

GetTypeInformation(String, Boolean, Type)

在派生类中重写时,检索当前管理范围中派生自指定基类型名称的所有类型的程序集限定类型名称,可以选择包括非公共类型,并使用指定的生成器创建类型信息。

public:
 abstract cli::array <System::Object ^> ^ GetTypeInformation(System::String ^ baseTypeName, bool includeNonpublicTypes, Type ^ generatorType);
public abstract object[] GetTypeInformation (string baseTypeName, bool includeNonpublicTypes, Type generatorType);
abstract member GetTypeInformation : string * bool * Type -> obj[]
Public MustOverride Function GetTypeInformation (baseTypeName As String, includeNonpublicTypes As Boolean, generatorType As Type) As Object()

参数

baseTypeName
String

基类型的名称。

includeNonpublicTypes
Boolean

true 以包含非公开的类型; false 如果仅包含公共类型,则为 。

generatorType
Type

Type用于创建类型信息的生成器的 。

返回

Object[]

包含程序集限定的类型名称的对象数组。

注解

参数 generatorType 指定要用于创建类型信息的生成器。

适用于