Bagikan melalui


IVsUIShell.GetPreviousBFNavigationItem Method

Returns the previous backward and forward navigation item.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function GetPreviousBFNavigationItem ( _
    <OutAttribute> ByRef ppWindowFrame As IVsWindowFrame, _
    <OutAttribute> ByRef pbstrData As String, _
    <OutAttribute> ByRef ppunk As Object _
) As Integer
int GetPreviousBFNavigationItem(
    out IVsWindowFrame ppWindowFrame,
    out string pbstrData,
    out Object ppunk
)
int GetPreviousBFNavigationItem(
    [OutAttribute] IVsWindowFrame^% ppWindowFrame, 
    [OutAttribute] String^% pbstrData, 
    [OutAttribute] Object^% ppunk
)
abstract GetPreviousBFNavigationItem : 
        ppWindowFrame:IVsWindowFrame byref * 
        pbstrData:string byref * 
        ppunk:Object byref -> int
function GetPreviousBFNavigationItem(
    ppWindowFrame : IVsWindowFrame, 
    pbstrData : String, 
    ppunk : Object
) : int

Parameters

  • pbstrData
    Type: System.String%

    [out] Any arbitrary data that is needed for the navigation point (insertion point).

  • ppunk
    Type: System.Object%

    [out] Pointer to a specific interface for the navigation point.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsUIShell::GetPreviousBFNavigationItem(
   [out] IVsWindowFrame **ppWindowFrame,
   [out] BSTR * pbstrData,
   [out] IUnknown **ppunk
);

.NET Framework Security

See Also

Reference

IVsUIShell Interface

Microsoft.VisualStudio.Shell.Interop Namespace