MediaCapture.GetEncoderProperty(MediaStreamType, Guid) 方法

定義

取得編碼屬性的值。

public:
 virtual Platform::Object ^ GetEncoderProperty(MediaStreamType mediaStreamType, Platform::Guid propertyId) = GetEncoderProperty;
IInspectable GetEncoderProperty(MediaStreamType const& mediaStreamType, winrt::guid const& propertyId);
public object GetEncoderProperty(MediaStreamType mediaStreamType, Guid propertyId);
function getEncoderProperty(mediaStreamType, propertyId)
Public Function GetEncoderProperty (mediaStreamType As MediaStreamType, propertyId As Guid) As Object

參數

mediaStreamType
MediaStreamType

指定要查詢編碼屬性的資料流程。

propertyId
Guid

Platform::Guid

winrt::guid

要擷取的編碼屬性。

傳回

Object

Platform::Object

IInspectable

傳回編碼屬性的值。

Windows 需求

應用程式功能
backgroundMediaRecording microphone webcam

適用於