共用方式為


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

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

See Also

Reference

IVsTextTipData Interface

IVsTextTipData Members

Microsoft.VisualStudio.TextManager.Interop Namespace