Partager via


Task.IVsTaskItem.put_Text Method

Sets 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

'Déclaration
Private Function put_Text ( _
    t As String _
) As Integer Implements IVsTaskItem.put_Text
'Utilisation
Dim instance As Task
Dim t As String
Dim returnValue As Integer

returnValue = CType(instance, IVsTaskItem).put_Text(t)
int IVsTaskItem.put_Text(
    string t
)
private:
virtual int put_Text(
    String^ t
) sealed = IVsTaskItem::put_Text
private abstract put_Text : 
        t:string -> int 
private override put_Text : 
        t:string -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32
S_OK().

Implements

IVsTaskItem.put_Text(String)

.NET Framework Security

See Also

Reference

Task Class

Task Members

Microsoft.VisualStudio.Shell Namespace