GameBarCommandOrigin Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the origin of a Game Bar command.
public enum class GameBarCommandOrigin
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.GameBarContract, 65536)]
enum class GameBarCommandOrigin
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.GameBarContract), 65536)]
public enum GameBarCommandOrigin
var value = Windows.Media.Capture.GameBarCommandOrigin.shortcutKey
Public Enum GameBarCommandOrigin
- Inheritance
-
GameBarCommandOrigin
- Attributes
Windows requirements
Device family |
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
|
API contract |
Windows.Media.Capture.GameBarContract (introduced in v1.0)
|
App capabilities |
gameBarServices
|
Fields
AppCommand | 2 | The Game Bar command originated from an app-initiated command. |
Cortana | 1 | The Game Bar command originated from Cortana. |
ShortcutKey | 0 | The Game Bar command originated from a shortcut key. |
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro