IInternalConfigConfigurationFactory.Create(Type, Object[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建并初始化一个 Configuration 对象。
public:
System::Configuration::Configuration ^ Create(Type ^ typeConfigHost, ... cli::array <System::Object ^> ^ hostInitConfigurationParams);
public System.Configuration.Configuration Create(Type typeConfigHost, params object[] hostInitConfigurationParams);
abstract member Create : Type * obj[] -> System.Configuration.Configuration
Public Function Create (typeConfigHost As Type, ParamArray hostInitConfigurationParams As Object()) As Configuration
参数
- typeConfigHost
- Type
Type Configuration要创建的对象。
- hostInitConfigurationParams
- Object[]
一个参数数组 Object ,其中包含要应用于所创建 Configuration 对象的参数。
返回
Configuration 对象。