IVsSyntheticTextClient.OnSyntheticRegionChange Method
Fires event indicating the synthetic text region has changed.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣告
Sub OnSyntheticRegionChange ( _
pSynthReg As IVsSyntheticRegion, _
EventCode As SYNTHETIC_REGION_EVENT _
)
void OnSyntheticRegionChange(
IVsSyntheticRegion pSynthReg,
SYNTHETIC_REGION_EVENT EventCode
)
void OnSyntheticRegionChange(
[InAttribute] IVsSyntheticRegion^ pSynthReg,
[InAttribute] SYNTHETIC_REGION_EVENT EventCode
)
abstract OnSyntheticRegionChange :
pSynthReg:IVsSyntheticRegion *
EventCode:SYNTHETIC_REGION_EVENT -> unit
function OnSyntheticRegionChange(
pSynthReg : IVsSyntheticRegion,
EventCode : SYNTHETIC_REGION_EVENT
)
Parameters
- pSynthReg
Type: Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticRegion
[in] The synthetic region of interest.
- EventCode
Type: Microsoft.VisualStudio.TextManager.Interop.SYNTHETIC_REGION_EVENT
[in] The SYNTHETIC_REGION_EVENT value.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsSyntheticTextClient::OnSyntheticRegionChange(
[in] IVsSyntheticRegion *pSynthReg,
[in] SYNTHETIC_REGION_EVENT EventCode
);
.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.