Click or drag to resize

PropertySet Method

Sets the value of the property.

Namespace:  Com.Datalogic.Device.Configuration
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public virtual int Set(
	Object value
)

Parameters

value
Type: Object
- The value to be set.

Return Value

Type: Int32
intSuccess in case of success otherwise a possible error code, matching one of the ConfigException error constants. In case of error, when exceptions are enabled through the ErrorManager singleton, an exception is thrown.
Exceptions
ExceptionCondition
ConfigException - AccessViolationError if the property is read-only.
ConfigException - SupportError if the property is not supported.
ConfigException - ValueError if the value is not an allowed value, e.g: an out of range integer or char value or a profiled enumerated value.
Remarks

Sets the value of the property. To apply the value of the property to the device and make it persistent the method Commit

of ConfigurationManager

must be called.

[Android Documentation]

See Also