Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the description of the task item.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function get_Text ( _
<OutAttribute> ByRef pbstrName As String _
) As Integer
int get_Text(
out string pbstrName
)
int get_Text(
[OutAttribute] String^% pbstrName
)
abstract get_Text :
pbstrName:string byref -> int
function get_Text(
pbstrName : String
) : int
Parameters
- pbstrName
Type: System.String%
[out, retval] Pointer to a description of the task item.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsTaskItem::get_Text(
[out,retval] BSTR *pbstrName
);
This method returns the text in the description column for a specific task item.
.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.