NavigatedEventHandler 委托

定义

表示将处理 Navigated 事件的方法。

public delegate void NavigatedEventHandler(Platform::Object ^ sender, NavigationEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2077347668, 9167, 19662, 178, 245, 76, 231, 141, 150, 137, 110)]
class NavigatedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2077347668, 9167, 19662, 178, 245, 76, 231, 141, 150, 137, 110)]
public delegate void NavigatedEventHandler(object sender, NavigationEventArgs e);
Public Delegate Sub NavigatedEventHandler(sender As Object, e As NavigationEventArgs)

参数

sender
Object

Platform::Object

IInspectable

附加处理程序的 对象。

e
NavigationEventArgs

事件的事件数据。

属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

适用于