UniPRT SDK  v1.0.0.0
UniPRT.Sdk.Settings.ISettingsReadWrite Interface Reference
Inheritance diagram for UniPRT.Sdk.Settings.ISettingsReadWrite:
UniPRT.Sdk.Settings.SettingsReadWrite

Public Member Functions

Dictionary< string, SettingGetAllProperties ()
 Read all settings.
 
Dictionary< string, string > GetAllValues ()
 Read all settings key/value pairs.
 
Dictionary< string, SettingGetProperties (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...
 

Member Function Documentation

◆ SetValue()

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.

◆ SetValues()

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.