IVsTaskItem3.GetTipText Method
Returns the tip text for the given field. If this method fails or returns an empty string, the task list will use the text of the item itself (if any) or the accessibility name as the tip text.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetTipText ( _
iField As Integer, _
<OutAttribute> ByRef pbstrTipText As String _
) As Integer
int GetTipText(
int iField,
out string pbstrTipText
)
int GetTipText(
[InAttribute] int iField,
[OutAttribute] String^% pbstrTipText
)
abstract GetTipText :
iField:int *
pbstrTipText:string byref -> int
function GetTipText(
iField : int,
pbstrTipText : String
) : int
Parameters
iField
Type: Int32[in] An integer value representing the field column to use for the Tip Text.
pbstrTipText
Type: String%[out] A pointer to a string containing the Tip Text.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsTaskItem3::GetTipText(
[in] int iField,
[out] BSTR* pbstrTipText
);
.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.