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
- pSmartTagData
Type: Microsoft.VisualStudio.TextManager.Interop.IVsSmartTagData
[in] The IVsSmartTagData.
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
- 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.