Partager via


IVsBackForwardNavigation.NavigateTo(IVsWindowFrame, String, Object) Method

Definition

Moves the cursor to a specific point.

public:
 int NavigateTo(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ pFrame, System::String ^ bstrData, System::Object ^ punk);
public:
 int NavigateTo(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ pFrame, Platform::String ^ bstrData, Platform::Object ^ punk);
int NavigateTo(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame const & pFrame, std::wstring const & bstrData, winrt::Windows::Foundation::IInspectable const & punk);
public int NavigateTo (Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame pFrame, string bstrData, object punk);
abstract member NavigateTo : Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame * string * obj -> int
Public Function NavigateTo (pFrame As IVsWindowFrame, bstrData As String, punk As Object) As Integer

Parameters

pFrame
IVsWindowFrame

[in] Pointer to the IVsWindowFrame interface.

bstrData
String

[in] Optional. String to match to determine the starting point for the navigation.

punk
Object

[in] Pointer to the IUnknown interface from which to retrieve the navigation points.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsBackForwardNavigation::NavigateTo(  
   [in] IVsWindowFrame *pFrame,   
   [in] BSTR bstrData,   
   [in] IUnknown *punk  
);  

Applies to