Freigeben über


VsSyntheticTextLayerClass.AddSyntheticRegions-Methode

Fügt synthetische sitzungen Text hinzu.

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

Parameter

  • cRegions
    Typ: Int32

    [in] Die Anzahl der hinzuzufügenden Bereiche.

Rückgabewert

Typ: Int32

Implementiert

IVsSyntheticTextSession.AddSyntheticRegions(UInt32, Int32, array<NewSyntheticRegion[], array<IVsEnumSyntheticRegions[])

.NET Framework-Sicherheit

Siehe auch

Referenz

VsSyntheticTextLayerClass Klasse

Microsoft.VisualStudio.TextManager.Interop-Namespace