This documentation is archived and is not being maintained.

Switch.SwitchSetting Property

Gets or sets the current setting for this switch.

Namespace: System.Diagnostics
Assembly: System (in system.dll)

protected int SwitchSetting { get; set; }
/** @property */
protected int get_SwitchSetting ()

/** @property */
protected void set_SwitchSetting (int value)

protected function get SwitchSetting () : int

protected function set SwitchSetting (value : int)

Not applicable.

Property Value

The current setting for this switch. The default is zero.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0