IVsTextTipData.GetTipText Method
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
)
abstract GetTipText :
pbstrText:string[] byref *
pfGetFontInfo:int byref -> int
function GetTipText(
pbstrText : String[],
pfGetFontInfo : int
) : int
Parameters
- pbstrText
Type: array<System.String[]
[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
);
.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.