프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ConfigurationFile | System | ||
ConfigurationFile | System | ||
CreateConfigurationFile | void | ||
ExecuteConfigurationSave | void | ||
GetConfiguration | |||
TrimEnd | string | ||
ValidateConfigurationFile | void |
메소드 | 설명 | |
---|---|---|
Open ( string configFilePath ) : |
Opens application config file at the specified configFilePath.
|
|
Reload ( ) : void |
Reloads the current configuration settings from the configuration file that the ConfigurationFile represents.
|
|
RestoreDefaultUserSettings ( ) : void |
Restores all the default settings for SettingScope.User scoped settings.
|
|
Save ( ) : void |
Writes the configuration settings contained within this ConfigurationFile object to the configuration file that it represents.
|
|
Save ( ConfigurationSaveMode saveMode ) : void |
Writes the configuration settings contained within this ConfigurationFile object to the configuration file that it represents.
|
|
SaveAs ( string fileName ) : void |
Writes the configuration settings contained within this ConfigurationFile object to the specified configuration file.
|
|
SetCryptoKey ( string cryptoKey ) : void |
Sets the key to be used for encrypting and decrypting values of Settings.
|
메소드 | 설명 | |
---|---|---|
ConfigurationFile ( ) : System | ||
ConfigurationFile ( string configFilePath ) : System |
Initializes a new instance of the ConfigurationFile class.
|
|
CreateConfigurationFile ( string configFilePath ) : void | ||
ExecuteConfigurationSave ( ) : void | ||
GetConfiguration ( string configFilePath ) : |
||
TrimEnd ( string stringToTrim, string textToTrim ) : string | ||
ValidateConfigurationFile ( string configFilePath ) : void |
public static Open ( string configFilePath ) : |
||
configFilePath | string | Path of the config file that belongs to a Windows or Web application. |
리턴 |
public Save ( ConfigurationSaveMode saveMode ) : void | ||
saveMode | ConfigurationSaveMode | One of the |
리턴 | void |
public SaveAs ( string fileName ) : void | ||
fileName | string | The path and file name to save the configuration file to. |
리턴 | void |
public SetCryptoKey ( string cryptoKey ) : void | ||
cryptoKey | string | New crypto key. |
리턴 | void |