共用方式為


MediaCaptureInitializationSettings.PhotoCaptureSource 屬性

定義

取得或設定用於相片擷取的資料流程。

public:
 property PhotoCaptureSource PhotoCaptureSource { PhotoCaptureSource get(); void set(PhotoCaptureSource value); };
PhotoCaptureSource PhotoCaptureSource();

void PhotoCaptureSource(PhotoCaptureSource value);
public PhotoCaptureSource PhotoCaptureSource { get; set; }
var photoCaptureSource = mediaCaptureInitializationSettings.photoCaptureSource;
mediaCaptureInitializationSettings.photoCaptureSource = photoCaptureSource;
Public Property PhotoCaptureSource As PhotoCaptureSource

屬性值

用於相片擷取的資料流程。

Windows 需求

應用程式功能
backgroundMediaRecording microphone webcam

適用於