Freigeben über


AppCaptureSettings.IsMicrophoneCaptureEnabledByDefault Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob die Mikrofonaufnahme standardmäßig aktiviert ist, oder legt den Wert fest.

Hinweis

Diese API ist nicht für alle Windows-Apps verfügbar. Sofern Ihr Entwicklerkonto nicht speziell von Microsoft bereitgestellt wird, schlagen Aufrufe dieser APIs zur Laufzeit fehl.

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

void IsMicrophoneCaptureEnabledByDefault(bool value);
public bool IsMicrophoneCaptureEnabledByDefault { get; set; }
var boolean = appCaptureSettings.isMicrophoneCaptureEnabledByDefault;
appCaptureSettings.isMicrophoneCaptureEnabledByDefault = boolean;
Public Property IsMicrophoneCaptureEnabledByDefault As Boolean

Eigenschaftswert

Boolean

bool

True, wenn die Mikrofonaufnahme standardmäßig aktiviert ist; Andernfalls false.

Windows-Anforderungen

Gerätefamilie
Windows Desktop Extension SDK (eingeführt in 10.0.14393.0)
API contract
Windows.Media.Capture.AppCaptureContract (eingeführt in v3.0)
App-Funktionen
appCaptureSettings

Gilt für:

Weitere Informationen