VideoDeviceController.SetDevicePropertyById(String, Object) Method

Definition

Sets the value of the property with the specified ID from the capture device driver, using an extended ID with custom header information and providing the value as an object.

public:
 virtual VideoDeviceControllerSetDevicePropertyStatus SetDevicePropertyById(Platform::String ^ propertyId, Platform::Object ^ propertyValue) = SetDevicePropertyById;
VideoDeviceControllerSetDevicePropertyStatus SetDevicePropertyById(winrt::hstring const & propertyId, IInspectable const & propertyValue);
public VideoDeviceControllerSetDevicePropertyStatus SetDevicePropertyById(string propertyId, object propertyValue);
function setDevicePropertyById(propertyId, propertyValue)
Public Function SetDevicePropertyById (propertyId As String, propertyValue As Object) As VideoDeviceControllerSetDevicePropertyStatus

Parameters

propertyId
String

A byte array containing the extended identifier data.

propertyValue
Object

An object representing the data to be assigned to the specified property.

Returns

VideoDeviceControllerSetDevicePropertyStatus

A VideoDeviceControllerSetDevicePropertyStatus object describing the status of the operation.

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to