Platform::Delegate Class

This topic has not yet been rated - Rate this topic

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 (C++/CX). 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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.