IPeekResult.NavigateTo(Object) 方法

定义

导航到此结果的位置。Navigate to the location of this result. 如果导航成功,则会调用 PostNavigationCallback。If the navigation is succesful, then the PostNavigationCallback will be called.

public:
 void NavigateTo(System::Object ^ data);
public:
 void NavigateTo(Platform::Object ^ data);
void NavigateTo(winrt::Windows::Foundation::IInspectable const & data);
public void NavigateTo (object data);
abstract member NavigateTo : obj -> unit
Public Sub NavigateTo (data As Object)

参数

data
Object

如果导航成功,则为将直接传递到的第三个参数的数据 PostNavigationCallbackThe data that is to be passed directly into the third argument of PostNavigationCallback, if navigation is successful.

适用于