MediaFrameSourceController.GetPropertyAsync(String) 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.
Secara asinkron mendapatkan objek yang berisi nilai properti MediaFrameSource , jika nilai properti berhasil diambil, dan menjelaskan status hasil operasi get.
public:
virtual IAsyncOperation<MediaFrameSourceGetPropertyResult ^> ^ GetPropertyAsync(Platform::String ^ propertyId) = GetPropertyAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<MediaFrameSourceGetPropertyResult> GetPropertyAsync(winrt::hstring const& propertyId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<MediaFrameSourceGetPropertyResult> GetPropertyAsync(string propertyId);
function getPropertyAsync(propertyId)
Public Function GetPropertyAsync (propertyId As String) As IAsyncOperation(Of MediaFrameSourceGetPropertyResult)
Parameter
- propertyId
-
String
Platform::String
winrt::hstring
Pengidentifikasi properti sumber bingkai media yang akan diambil.
Mengembalikan
Operasi asinkron yang mengembalikan MediaFrameSourceGetPropertyResult setelah selesai.
- Atribut
Keterangan
Untuk mengatur nilai properti sumber bingkai media, gunakan SetPropertyAsync.
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.