Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds synthetic text sessions.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Public Overridable Function AddSyntheticRegions ( _
dwUpdateFlags As UInteger, _
cRegions As Integer, _
rgSynthReg As NewSyntheticRegion(), _
<OutAttribute> ppEnum As IVsEnumSyntheticRegions() _
) As Integer
public virtual int AddSyntheticRegions(
uint dwUpdateFlags,
int cRegions,
NewSyntheticRegion[] rgSynthReg,
IVsEnumSyntheticRegions[] ppEnum
)
public:
virtual int AddSyntheticRegions(
[InAttribute] unsigned int dwUpdateFlags,
[InAttribute] int cRegions,
[InAttribute] array<NewSyntheticRegion>^ rgSynthReg,
[OutAttribute] array<IVsEnumSyntheticRegions^>^ ppEnum
)
abstract AddSyntheticRegions :
dwUpdateFlags:uint32 *
cRegions:int *
rgSynthReg:NewSyntheticRegion[] *
ppEnum:IVsEnumSyntheticRegions[] byref -> int
override AddSyntheticRegions :
dwUpdateFlags:uint32 *
cRegions:int *
rgSynthReg:NewSyntheticRegion[] *
ppEnum:IVsEnumSyntheticRegions[] byref -> int
public function AddSyntheticRegions(
dwUpdateFlags : uint,
cRegions : int,
rgSynthReg : NewSyntheticRegion[],
ppEnum : IVsEnumSyntheticRegions[]
) : int
Parameters
- dwUpdateFlags
Type: System.UInt32
[in] Update flags. For values of dwUpdateFlags see the CHANGE_SYNTHETIC_REGION_FLAGS enum.
- cRegions
Type: System.Int32
[in] Number of regions to add.
- rgSynthReg
Type: array<Microsoft.VisualStudio.TextManager.Interop.NewSyntheticRegion[]
[in] array of cRegions structs defining the new regions.
- ppEnum
Type: array<Microsoft.VisualStudio.TextManager.Interop.IVsEnumSyntheticRegions[]
[out] May be nulla null reference (Nothing in Visual Basic); if non-null, returns an enum of the new regions.
Return Value
Type: System.Int32
Implements
.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.