IVsTaskItem.put_Text(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the description for a task item.
public:
int put_Text(System::String ^ bstrName);
public:
int put_Text(Platform::String ^ bstrName);
int put_Text(std::wstring const & bstrName);
public int put_Text (string bstrName);
abstract member put_Text : string -> int
Public Function put_Text (bstrName As String) As Integer
Parameters
- bstrName
- String
[in] Description of the task item.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsTaskItem::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.