共用方式為


IVsTextTipWindow.SetTextTipData Method

Sets the text tip.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣告
Function SetTextTipData ( _
    pMethodData As IVsTextTipData _
) As Integer
int SetTextTipData(
    IVsTextTipData pMethodData
)
int SetTextTipData(
    [InAttribute] IVsTextTipData^ pMethodData
)
abstract SetTextTipData : 
        pMethodData:IVsTextTipData -> int 
function SetTextTipData(
    pMethodData : IVsTextTipData
) : 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 IVsTextTipWindow::SetTextTipData(
[in] IVsTextTipData *pMethodData
);

.NET Framework Security

See Also

Reference

IVsTextTipWindow Interface

Microsoft.VisualStudio.TextManager.Interop Namespace