다음을 통해 공유


IVsSyntheticTextSession.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

‘선언
Function EnumSyntheticRegions ( _
    dwFindFlags As UInteger, _
    dwCookie As UInteger, _
    ptsRange As TextSpan(), _
    <OutAttribute> ByRef ppEnum As IVsEnumSyntheticRegions _
) As Integer
int EnumSyntheticRegions(
    uint dwFindFlags,
    uint dwCookie,
    TextSpan[] ptsRange,
    out IVsEnumSyntheticRegions ppEnum
)
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 
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.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsSyntheticTextSession::EnumSyntheticRegions(
   [in] DWORD dwFindFlags,
   [in] DWORD_PTR dwCookie,
   [in] TextSpan *ptsRange,
   [out] IVsEnumSyntheticRegions **ppEnum
);

.NET Framework Security

See Also

Reference

IVsSyntheticTextSession Interface

Microsoft.VisualStudio.TextManager.Interop Namespace