LocationChangedEventArgs(String, Boolean) 构造函数

定义

初始化 LocationChangedEventArgs 的新实例。

public:
 LocationChangedEventArgs(System::String ^ location, bool isNavigationIntercepted);
public LocationChangedEventArgs (string location, bool isNavigationIntercepted);
new Microsoft.AspNetCore.Components.Routing.LocationChangedEventArgs : string * bool -> Microsoft.AspNetCore.Components.Routing.LocationChangedEventArgs
Public Sub New (location As String, isNavigationIntercepted As Boolean)

参数

location
String

位置。

isNavigationIntercepted
Boolean

一个 值,该值确定是否截获了链接的导航。

适用于