Class DeviceSetting
Represents a setting on a device.
Inherited Members
Namespace: Microsoft.XboxStudios.DeviceConsole.Environments.Settings
Assembly: DeviceConsole.Environments.dll
Syntax
public class DeviceSetting
Constructors
View SourceDeviceSetting(string, object, bool, bool)
Initializes a new instance of the DeviceSetting class.
Declaration
public DeviceSetting(string name, object value, bool requiresReboot, bool isReadOnly)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the setting. |
object | value | The value of the setting. |
bool | requiresReboot | The setting requires a reboot to change. |
bool | isReadOnly | Is the setting read-only. |
Properties
View SourceIsReadOnly
Gets a value indicating whether this value is read only.
Declaration
public bool IsReadOnly { get; }
Property Value
Type | Description |
---|---|
bool |
Name
Gets the name of the setting.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
RequiresReboot
Gets a value indicating whether changing this setting requires a reboot to take effect.
Declaration
public bool RequiresReboot { get; }
Property Value
Type | Description |
---|---|
bool |
Value
Gets the value of the setting.
Declaration
public object Value { get; }
Property Value
Type | Description |
---|---|
object |