FlashControl.PowerSupported Property
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.
Gets a value that specifics if the device allows the torch LED power settings to be changed.
public:
property bool PowerSupported { bool get(); };
bool PowerSupported();
public bool PowerSupported { get; }
var boolean = flashControl.powerSupported;
Public ReadOnly Property PowerSupported As Boolean
Property Value
Boolean
bool
true if the device allows the torch LED power settings to be changed; otherwise, false.
Remarks
You should check the value of the FlashControl object's Supported property before attempting to access this property. If Supported is false, attempting to access this property will throw an exception.