共用方式為


IVsSyntheticTextClient.OnSyntheticRegionChange Method

Definition

Fires event indicating the synthetic text region has changed.

public:
 void OnSyntheticRegionChange(Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticRegion ^ pSynthReg, Microsoft::VisualStudio::TextManager::Interop::SYNTHETIC_REGION_EVENT EventCode);
public:
 void OnSyntheticRegionChange(Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticRegion ^ pSynthReg, Microsoft::VisualStudio::TextManager::Interop::SYNTHETIC_REGION_EVENT EventCode);
void OnSyntheticRegionChange(Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticRegion const & pSynthReg, Microsoft::VisualStudio::TextManager::Interop::SYNTHETIC_REGION_EVENT EventCode);
public void OnSyntheticRegionChange (Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticRegion pSynthReg, Microsoft.VisualStudio.TextManager.Interop.SYNTHETIC_REGION_EVENT EventCode);
abstract member OnSyntheticRegionChange : Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticRegion * Microsoft.VisualStudio.TextManager.Interop.SYNTHETIC_REGION_EVENT -> unit
Public Sub OnSyntheticRegionChange (pSynthReg As IVsSyntheticRegion, EventCode As SYNTHETIC_REGION_EVENT)

Parameters

pSynthReg
IVsSyntheticRegion

[in] The synthetic region of interest.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsSyntheticTextClient::OnSyntheticRegionChange(  
   [in] IVsSyntheticRegion *pSynthReg,  
   [in] SYNTHETIC_REGION_EVENT EventCode  
);  

Applies to