Udostępnij za pośrednictwem


AppCaptureAlternateShortcutKeys.ToggleMicrophoneCaptureKey Property

Definition

Gets or sets the toggle microphone capture shortcut key.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.

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

void ToggleMicrophoneCaptureKey(VirtualKey value);
public VirtualKey ToggleMicrophoneCaptureKey { get; set; }
var virtualKey = appCaptureAlternateShortcutKeys.toggleMicrophoneCaptureKey;
appCaptureAlternateShortcutKeys.toggleMicrophoneCaptureKey = virtualKey;
Public Property ToggleMicrophoneCaptureKey As VirtualKey

Property Value

The toggle microphone capture shortcut key.

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10586.0)
API contract
Windows.Media.Capture.AppCaptureContract (introduced in v2.0)
App capabilities
appCaptureSettings

Applies to

See also