VideoDeviceController.SetDeviceProperty(String, Object) Method

Definition

Sets the value of the property with the specified ID on the capture device driver. You can use this method to set properties that are specific to a particular camera.

public:
 virtual void SetDeviceProperty(Platform::String ^ propertyId, Platform::Object ^ propertyValue) = SetDeviceProperty;
void SetDeviceProperty(winrt::hstring const & propertyId, IInspectable const & propertyValue);
public void SetDeviceProperty(string propertyId, object propertyValue);
function setDeviceProperty(propertyId, propertyValue)
Public Sub SetDeviceProperty (propertyId As String, propertyValue As Object)

Parameters

propertyId
String

The identifier of the property for which the value is set.

propertyValue
Object

The new value of the property.

Remarks

The property ID and expected data are determined by the hardware device manufacturer.

Applies to

See also