Activator.CreateInstance 方法 (Type) 

使用与指定参数匹配程度最高的构造函数来创建指定类型的实例。

命名空间:System
程序集:mscorlib(在 mscorlib.dll 中)

C#
public static Object CreateInstance (Type type)

Activator.CreateInstance 泛型方法 ()

 

相关文章:

  • 2021-06-03
  • 2021-10-19
  • 2022-01-03
  • 2021-10-27
猜你喜欢
  • 2022-02-02
  • 2021-09-05
  • 2022-12-23
相关资源
相似解决方案