SourceSwitch.OnValueChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invoked when the value of the Value property changes.
protected:
override void OnValueChanged();
protected override void OnValueChanged ();
override this.OnValueChanged : unit -> unit
Protected Overrides Sub OnValueChanged ()
Exceptions
The new value of Value is not one of the SourceLevels values.
Remarks
The OnValueChanged method converts the new value of the Value property to the integer representation of the matching field in the SourceLevels enumeration, and then uses this integer to set the SwitchSetting property.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.