Compartir a través de


Task.IVsTaskItem.get_Text Method

Gets the description of the task.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Declaración
Private Function get_Text ( _
    <OutAttribute> ByRef text As String _
) As Integer Implements IVsTaskItem.get_Text
'Uso
Dim instance As Task
Dim text As String
Dim returnValue As Integer

returnValue = CType(instance, IVsTaskItem).get_Text(text)
int IVsTaskItem.get_Text(
    out string text
)
private:
virtual int get_Text(
    [OutAttribute] String^% text
) sealed = IVsTaskItem::get_Text
private abstract get_Text : 
        text:string byref -> int 
private override get_Text : 
        text:string byref -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

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

Implements

IVsTaskItem.get_Text(String%)

.NET Framework Security

See Also

Reference

Task Class

Task Members

Microsoft.VisualStudio.Shell Namespace