ShareWindowCommandEventArgs Class
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.
Contains event arguments passed when the ShareWindowCommandSource.CommandRequested and ShareWindowCommandSource.CommandInvoked events are raised.
public ref class ShareWindowCommandEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ShareWindowCommandEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ShareWindowCommandEventArgs
Public NotInheritable Class ShareWindowCommandEventArgs
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 11 (introduced in 10.0.22000.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v14.0)
|
Remarks
IShareWindowCommandEventArgsInterop is a native interoperation interface that allows getting a window identifier (a window handle) from a ShareWindowCommandEventArgs object.
Properties
Command |
Gets or sets the window sharing command. |
WindowId |
Gets or sets the window identifier associated with the window sharing command. Your communications app can use this identifier to capture window contents, and share in an app-specific way. |