IInternalConfigConfigurationFactory.Create(Type, Object[]) Method

Definition

Creates and initializes a Configuration object.

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

Parameters

typeConfigHost
Type

The Type of the Configuration object to be created.

hostInitConfigurationParams
Object[]

A parameter array of Object that contains the parameters to be applied to the created Configuration object.

Returns

A Configuration object.

Applies to