FlashControl.Enabled 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 specifies if the flash on the capture device is enabled or disabled.
public:
property bool Enabled { bool get(); void set(bool value); };
bool Enabled();
void Enabled(bool value);
public bool Enabled { get; set; }
var boolean = flashControl.enabled;
flashControl.enabled = boolean;
Public Property Enabled As Boolean
Property Value
Boolean
bool
true if the flash is enabled; 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.