Public 成员函数 | |
| Dictionary< string, Setting > | GetAllProperties () |
| 读取所有设置。 | |
| Dictionary< string, string > | GetAllValues () |
| 读取所有设置的键/值对。 | |
| Dictionary< string, Setting > | GetProperties (List< string > keys) |
| 读取与指定键相关联的设置。 | |
| Setting | GetProperties (string key) |
| 读取与指定键列表相关联的多个设置。 | |
| string | GetValue (string key) |
| 读取与指定键相关联的设置。 | |
| Dictionary< string, string > | GetValues (List< string > keys) |
| 读取与指定键列表相关联的多个设置。 | |
| bool | SetValue (string keyToSet, string valueToSet) |
| 写入与指定键相关联的设置值。 更多... | |
| bool | SetValues (Dictionary< string, string > keysToSet) |
| 写入与指定键相关联的多个设置值。 更多... | |
| bool UniPRT.Sdk.Settings.ISettingsReadWrite.SetValue | ( | string | keyToSet, |
| string | valueToSet | ||
| ) |
写入与指定键相关联的设置值。
如果写入成功则返回 true。 注意: 预期作为字符串处理的值应加上引号。 例如:value = SomeString 和 value = "SomeString" 将按接收的方式发送,但印表机可能会有不同的处理方式。
| bool UniPRT.Sdk.Settings.ISettingsReadWrite.SetValues | ( | Dictionary< string, string > | keysToSet | ) |
写入与指定键相关联的多个设置值。
如果写入成功则返回 true。 注意: 预期作为字符串处理的值应加上引号。 例如:value = SomeString 和 value = "SomeString" 将按接收的方式发送,但印表机可能会有不同的处理方式。