共用方式為


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

值,判斷是否已攔截連結的流覽。

適用於