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
'使用
Dim instance As IVsTextTipData
Dim pbstrText As String()
Dim pfGetFontInfo As Integer
Dim returnValue As Integer
returnValue = instance.GetTipText(pbstrText, _
pfGetFontInfo)
int GetTipText(
string[] pbstrText,
out int pfGetFontInfo
)
int GetTipText(
[OutAttribute] array<String^>^ pbstrText,
[OutAttribute] int% pfGetFontInfo
)
function GetTipText(
pbstrText : String[],
pfGetFontInfo : int
) : int
Parameters
pbstrText
Type: [][out]
pfGetFontInfo
Type: System.Int32%[out]
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
);
Permissions
- 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.