Sets the displayName switch to the level specified in value.
[Visual Basic] Overloads Public Shared Sub SetSwitchSetting( _ ByVal displayName As String, _ ByVal value As Integer _ ) [C#] public static void SetSwitchSetting( string displayName, int value ); [C++] public: static void SetSwitchSetting( String* displayName, int value ); [JScript] public static function SetSwitchSetting( displayName : String, value : int );
Typically, this method is called during initialization.
Switch Class | Switch Members | System.Diagnostics Namespace | Switch.SetSwitchSetting Overload List | Switch | BooleanSwitch | TraceSwitch | Debug | Trace