IVsBackForwardNavigation.NavigateTo Method
Moves the cursor to a specific point.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function NavigateTo ( _
pFrame As IVsWindowFrame, _
bstrData As String, _
punk As Object _
) As Integer
int NavigateTo(
IVsWindowFrame pFrame,
string bstrData,
Object punk
)
int NavigateTo(
[InAttribute] IVsWindowFrame^ pFrame,
[InAttribute] String^ bstrData,
[InAttribute] Object^ punk
)
abstract NavigateTo :
pFrame:IVsWindowFrame *
bstrData:string *
punk:Object -> int
function NavigateTo(
pFrame : IVsWindowFrame,
bstrData : String,
punk : Object
) : int
Parameters
pFrame
Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame[in] Pointer to the IVsWindowFrame interface.
bstrData
Type: String[in] Optional. String to match to determine the starting point for the navigation.
punk
Type: Object[in] Pointer to the IUnknown interface from which to retrieve the navigation points.
Return Value
Type: Int32
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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.