Upravit

Sdílet prostřednictvím


winrt::auto_revoke_t marker struct (C++/WinRT)

A marker type used to request an event revoker when registering a delegate to handle an event. For more details, and code examples, see Revoke a registered delegate.

Syntax

struct auto_revoke_t
constexpr auto_revoke_t auto_revoke{};

Requirements

Minimum supported SDK: Windows SDK version 10.0.17134.0 (Windows 10, version 1803)

Namespace: winrt

Header: %WindowsSdkDir%Include<WindowsTargetPlatformVersion>\cppwinrt\winrt\base.h (included by default)

See also