Delen via


Task.IVsTaskItem.get_Text Method

Gets the description of the task.

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

Syntax

'Declaration
Private Function get_Text ( _
    <OutAttribute> ByRef text As String _
) As Integer Implements IVsTaskItem.get_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

  • text
    Type: String%

    [out] The description of the task.

Return Value

Type: 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

Microsoft.VisualStudio.Shell Namespace