| description | Learn more about: Platform::Delegate Class | |
|---|---|---|
| title | Platform::Delegate Class | |
| ms.date | 12/30/2016 | |
| ms.topic | reference | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | 82b21271-768f-4193-9ca2-be68ddfd546e |
Represents a function object.
public delegate void delegate_name();The Delegate class has the Equals(), GetHashCode(), and ToString() methods derived from the Platform::Object Class.
Use the delegate keyword to create delegates; do not use Platform::Delegate explicitly. For more information, see Delegates. For an example of how to create and consume a delegate, see Creating Windows Runtime Components in C++.
Minimum supported client: Windows 8
Minimum supported server: Windows Server 2012
Namespace: Platform
Metadata: platform.winmd