Freigeben über


IVsTaskItem3.GetNavigationStatusText Method

This method returns the text that will be placed on the status bar when the task is successfully navigated to.

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

Syntax

'Declaration
Function GetNavigationStatusText ( _
    <OutAttribute> ByRef pbstrText As String _
) As Integer
'Usage
Dim instance As IVsTaskItem3
Dim pbstrText As String
Dim returnValue As Integer

returnValue = instance.GetNavigationStatusText(pbstrText)
int GetNavigationStatusText(
    out string pbstrText
)
int GetNavigationStatusText(
    [OutAttribute] String^% pbstrText
)
abstract GetNavigationStatusText : 
        pbstrText:string byref -> int 
function GetNavigationStatusText(
    pbstrText : String
) : int

Parameters

  • pbstrText
    Type: System.String%
    [Out] A pointer to the string containing the text.

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 vsshell80.idl:

HRESULT IVsTaskItem3::GetNavigationStatusText(
   [out] BSTR* pbstrText
);

.NET Framework Security

See Also

Reference

IVsTaskItem3 Interface

IVsTaskItem3 Members

Microsoft.VisualStudio.Shell.Interop Namespace