共用方式為


MediaCaptureInitializationSettings.VideoSource 屬性

定義

取得或設定擷取作業的視訊來源。

public:
 property IMediaSource ^ VideoSource { IMediaSource ^ get(); void set(IMediaSource ^ value); };
IMediaSource VideoSource();

void VideoSource(IMediaSource value);
public IMediaSource VideoSource { get; set; }
var iMediaSource = mediaCaptureInitializationSettings.videoSource;
mediaCaptureInitializationSettings.videoSource = iMediaSource;
Public Property VideoSource As IMediaSource

屬性值

擷取作業的視訊來源。

Windows 需求

應用程式功能
backgroundMediaRecording

適用於