Public Member Functions | |
Dictionary< string, Setting > | GetAllProperties () |
Read all settings. | |
Dictionary< string, string > | GetAllValues () |
Read all settings key/value pairs. | |
Dictionary< string, Setting > | GetProperties (List< string > keys) |
Read setting associated with given key. | |
Setting | GetProperties (string key) |
Read multiple settings associated with given list of keys. | |
string | GetValue (string key) |
Read setting associated with given key. | |
Dictionary< string, string > | GetValues (List< string > keys) |
Read multiple settings associated with given list of keys. | |
bool | SetValue (string keyToSet, string valueToSet) |
Write a setting value associated with given key. More... | |
bool | SetValues (Dictionary< string, string > keysToSet) |
Write multiple settings associated with given keys. More... | |
bool UniPRT.Sdk.Settings.ISettingsReadWrite.SetValue | ( | string | keyToSet, |
string | valueToSet | ||
) |
Write a setting value associated with given key.
Returns true if write is successful. Note: A value that is intended to be processed as strings should be quoted. e.g. value = SomeString and value = "SomeString" will be sent exactly as received but may be handled differently by printer.
Implemented in UniPRT.Sdk.Settings.SettingsReadWrite.
bool UniPRT.Sdk.Settings.ISettingsReadWrite.SetValues | ( | Dictionary< string, string > | keysToSet | ) |
Write multiple settings associated with given keys.
Returns true if write is successful. Note: Values that are intended to be processed as strings should be quoted. e.g. value = SomeString and value = "SomeString" will be sent exactly as received but may be handled differently by printer.
Implemented in UniPRT.Sdk.Settings.SettingsReadWrite.