Share via


Package.ImportConfigurationFile(String) Method

Definition

Loads a configuration file associated with the package.

public:
 void ImportConfigurationFile(System::String ^ str);
public void ImportConfigurationFile (string str);
member this.ImportConfigurationFile : string -> unit
Public Sub ImportConfigurationFile (str As String)

Parameters

str
String

The path and name of the file that contains the configuration.

Examples

The following code example shows the ImportConfigurationFile method. The string parameter contains the path to the configuration.

package.ImportConfigurationFile(@"c:\myConfiguration.xml")  
package.ImportConfigurationFile("c:\myConfiguration.xml")  

Applies to