共用方式為


IVsSmartTagTipWindow.SetSmartTagData(IVsSmartTagData) Method

Definition

Sets smart tag data.

public:
 int SetSmartTagData(Microsoft::VisualStudio::TextManager::Interop::IVsSmartTagData ^ pSmartTagData);
public:
 int SetSmartTagData(Microsoft::VisualStudio::TextManager::Interop::IVsSmartTagData ^ pSmartTagData);
int SetSmartTagData(Microsoft::VisualStudio::TextManager::Interop::IVsSmartTagData const & pSmartTagData);
public int SetSmartTagData (Microsoft.VisualStudio.TextManager.Interop.IVsSmartTagData pSmartTagData);
abstract member SetSmartTagData : Microsoft.VisualStudio.TextManager.Interop.IVsSmartTagData -> int
Public Function SetSmartTagData (pSmartTagData As IVsSmartTagData) As Integer

Parameters

pSmartTagData
IVsSmartTagData

[in] The IVsSmartTagData object.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr2.idl:

HRESULT IVsSmartTagTipWindow::SetSmartTagData(  
   [in] IVsSmartTagData *pSmartTagData  
);  

Applies to