Condividi tramite


WindowServices Classe

Definizione

Fornisce metodi per l'uso delle finestre dell'app.

public ref class WindowServices abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 786432)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class WindowServices final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 786432)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class WindowServices
Public Class WindowServices
Ereditarietà
Object Platform::Object IInspectable WindowServices
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10, version 2104 (è stato introdotto in 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v12.0)

Metodi

FindAllTopLevelWindowIds()

Ottiene l'identificatore di ogni finestra di primo livello.

Si applica a