Share via


MediaFrameSourceController.GetPropertyAsync(String) メソッド

定義

プロパティ値が正常に取得された場合、 MediaFrameSource プロパティの値を含むオブジェクトを非同期的に取得し、取得操作の結果の状態を記述します。

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)

パラメーター

propertyId
String

Platform::String

winrt::hstring

取得するメディア フレーム ソース プロパティの識別子。

戻り値

完了時に MediaFrameSourceGetPropertyResult を 返す非同期操作。

属性

注釈

メディア フレーム ソース プロパティの値を設定するには、 SetPropertyAsync を使用します

一般的なデバイス プロパティは、 VideoDeviceController クラスのプロパティとして公開されます。 追加のプロパティは、 KSPROPERTYSETID_ExtendedCameraControl プロパティ セットで定義されます。 レガシ プロパティは、 PROPSETID_VIDCAP_CAMERACONTROL プロパティ セットで定義されます。 ID でカメラのプロパティにアクセスする例については、 拡張コントロールとメタデータのサンプルを参照してください。

適用対象