共用方式為


Task.IVsTaskItem.get_Text(String) Method

Definition

Gets the description of the task.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.get_Text([Runtime::InteropServices::Out] System::String ^ % text) = Microsoft::VisualStudio::Shell::Interop::IVsTaskItem::get_Text;
int IVsTaskItem.get_Text (out string text);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.get_Text : string -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.get_Text : string -> int
Function get_Text (ByRef text As String) As Integer Implements IVsTaskItem.get_Text

Parameters

text
String

[out] The description of the task.

Returns

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

Implements

Applies to