VideoDeviceController.SetDevicePropertyById(String, Object) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mengatur nilai properti dengan ID yang ditentukan dari driver perangkat tangkap, menggunakan ID yang diperluas dengan informasi header kustom dan memberikan nilai sebagai objek.
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
Parameter
- propertyId
-
String
Platform::String
winrt::hstring
Array byte yang berisi data pengidentifikasi yang diperluas.
- propertyValue
-
Object
Platform::Object
IInspectable
Objek yang mewakili data yang akan ditetapkan ke properti yang ditentukan.
Mengembalikan
Objek VideoDeviceControllerSetDevicePropertyStatus yang menjelaskan status operasi.
Persyaratan Windows
Rangkaian perangkat |
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)
|
Keterangan
Properti perangkat umum diekspos sebagai properti kelas VideoDeviceController . Properti tambahan ditentukan dalam kumpulan properti KSPROPERTYSETID_ExtendedCameraControl . Properti warisan ditentukan dalam kumpulan properti PROPSETID_VIDCAP_CAMERACONTROL . Untuk contoh mengakses properti kamera menurut ID, lihat sampel Extended Control dan Metadata.