IVsSmartTagData.GetTipText Method
Gets the tip text that is to be displayed.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'宣告
Function GetTipText ( _
<OutAttribute> ByRef pbstrTipText As String _
) As Integer
int GetTipText(
out string pbstrTipText
)
int GetTipText(
[OutAttribute] String^% pbstrTipText
)
abstract GetTipText :
pbstrTipText:string byref -> int
function GetTipText(
pbstrTipText : String
) : int
Parameters
- pbstrTipText
Type: System.String%
[out] The tip text to be displayed.
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 textmgr2.idl:
HRESULT IVsSmartTagData::GetTipText(
[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.