IVsTextTipData.GetTipText Method
Gets the tip text.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
声明
Function GetTipText ( _
<OutAttribute> pbstrText As String(), _
<OutAttribute> ByRef pfGetFontInfo As Integer _
) As Integer
int GetTipText(
string[] pbstrText,
out int pfGetFontInfo
)
int GetTipText(
[OutAttribute] array<String^>^ pbstrText,
[OutAttribute] int% pfGetFontInfo
)
abstract GetTipText :
pbstrText:string[] byref *
pfGetFontInfo:int byref -> int
function GetTipText(
pbstrText : String[],
pfGetFontInfo : int
) : int
Parameters
- pbstrText
Type: array<System.String[]
[out] The tip text.
- pfGetFontInfo
Type: System.Int32%
[out] The font information for the tip text.
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 textmgr.idl:
HRESULT IVsTextTipData::GetTipText(
[out, custom(uuid_IVsTextTipData, "optional")] BSTR *pbstrText,
[out] BOOL *pfGetFontInfo
);
.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.