MediaDeviceControl.TrySetAuto(Boolean) 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.
Enables or disables automatic adjustment of the camera setting.
public:
virtual bool TrySetAuto(bool value) = TrySetAuto;
bool TrySetAuto(bool const& value);
public bool TrySetAuto(bool value);
function trySetAuto(value)
Public Function TrySetAuto (value As Boolean) As Boolean
Parameters
- value
-
Boolean
bool
True to enable automatic adjustment; or false to disable automatic adjustment. If false, call TrySetValue to adjust the setting.
Returns
Boolean
bool
Returns true if the method succeeds, or false otherwise.
Remarks
Depending on the setting and the camera model, the camera might not support automatic adjustment.