Task.IVsTaskItem.get_Text Method
Gets 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
'Declaration
Private Function get_Text ( _
<OutAttribute> ByRef text As String _
) As Integer Implements IVsTaskItem.get_Text
'Usage
Dim instance As Task
Dim text As String
Dim returnValue As Integer
returnValue = CType(instance, IVsTaskItem).get_Text(text)
int IVsTaskItem.get_Text(
out string text
)
private:
virtual int get_Text(
[OutAttribute] String^% text
) sealed = IVsTaskItem::get_Text
private abstract get_Text :
text:string byref -> int
private override get_Text :
text:string byref -> int
JScript does not support explicit interface implementations.
Parameters
- text
Type: System.String%
[out] The description of the task.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.