Condividi tramite


VsSyntheticTextLayerClass.EnumSyntheticRegions Method

Returns a static snapshot list of synthetic regions.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Public Overridable Function EnumSyntheticRegions ( _
    dwFindFlags As UInteger, _
    dwCookie As UInteger, _
    ptsRange As TextSpan(), _
    <OutAttribute> ByRef ppEnum As IVsEnumSyntheticRegions _
) As Integer
public virtual int EnumSyntheticRegions(
    uint dwFindFlags,
    uint dwCookie,
    TextSpan[] ptsRange,
    out IVsEnumSyntheticRegions ppEnum
)
public:
virtual int EnumSyntheticRegions(
    [InAttribute] unsigned int dwFindFlags, 
    [InAttribute] unsigned int dwCookie, 
    [InAttribute] array<TextSpan>^ ptsRange, 
    [OutAttribute] IVsEnumSyntheticRegions^% ppEnum
)
abstract EnumSyntheticRegions : 
        dwFindFlags:uint32 * 
        dwCookie:uint32 * 
        ptsRange:TextSpan[] * 
        ppEnum:IVsEnumSyntheticRegions byref -> int  
override EnumSyntheticRegions : 
        dwFindFlags:uint32 * 
        dwCookie:uint32 * 
        ptsRange:TextSpan[] * 
        ppEnum:IVsEnumSyntheticRegions byref -> int
public function EnumSyntheticRegions(
    dwFindFlags : uint, 
    dwCookie : uint, 
    ptsRange : TextSpan[], 
    ppEnum : IVsEnumSyntheticRegions
) : int

Parameters

  • dwCookie
    Type: System.UInt32

    [in] Additional search parameter; can be used to search for a specific client DWORD.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsSyntheticTextSession.EnumSyntheticRegions(UInt32, UInt32, array<TextSpan[], IVsEnumSyntheticRegions%)

.NET Framework Security

See Also

Reference

VsSyntheticTextLayerClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace