Partilhar via


IVsTaskItem3.GetTaskName(String) Method

Definition

Returns a string naming or describing the task. Used for accessibility.

public:
 int GetTaskName([Runtime::InteropServices::Out] System::String ^ % pbstrName);
int GetTaskName([Runtime::InteropServices::Out] std::wstring const & & pbstrName);
public int GetTaskName (out string pbstrName);
abstract member GetTaskName : string -> int
Public Function GetTaskName (ByRef pbstrName As String) As Integer

Parameters

pbstrName
String

[out] A pointer to a string naming or describing the task.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsTaskItem3::GetTaskName(  
   [out] BSTR* pbstrName  
);  

Applies to