IVsTaskItem2::put_Text Method (String^)
Visual Studio 2015
Sets the description for a task item.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- bstrName
-
Type:
System::String^
[in] Description of the task item.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsTaskItem::put_Text(String^)From vsshell.idl:
HRESULT IVsTaskItem2::put_Text(
[in] BSTR bstrName
);
Implementing this method enables the user to modify the description field of the task item. Do not implement this method if you do not want users to be able to modify the description of the task item.
Show: