共用方式為


VsSmartTagTipWindowClass.SetSmartTagData Method

Sets smart tag data.

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

Syntax

'宣告
Public Overridable Function SetSmartTagData ( _
    pSmartTagData As IVsSmartTagData _
) As Integer
public virtual int SetSmartTagData(
    IVsSmartTagData pSmartTagData
)
public:
virtual int SetSmartTagData(
    [InAttribute] IVsSmartTagData^ pSmartTagData
)
abstract SetSmartTagData : 
        pSmartTagData:IVsSmartTagData -> int 
override SetSmartTagData : 
        pSmartTagData:IVsSmartTagData -> int 
public function SetSmartTagData(
    pSmartTagData : IVsSmartTagData
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsSmartTagTipWindow.SetSmartTagData(IVsSmartTagData)

.NET Framework Security

See Also

Reference

VsSmartTagTipWindowClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace