VsSyntheticTextLayerClass::EnumSyntheticRegions Method (UInt32, UInt32, array<TextSpan>^, IVsEnumSyntheticRegions^)
Visual Studio 2015
Returns a static snapshot list of synthetic regions.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
public: virtual int EnumSyntheticRegions( unsigned int dwFindFlags, unsigned int dwCookie, array<TextSpan>^ ptsRange, [OutAttribute] IVsEnumSyntheticRegions^% ppEnum )
Parameters
- dwFindFlags
-
Type:
System::UInt32
[in] Indicates how to find the region. For values of dwFindFlags see the FIND_SYNTHETIC_REGION_FLAGS enum.
- dwCookie
-
Type:
System::UInt32
[in] Additional search parameter; can be used to search for a specific client DWORD.
- ptsRange
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^
[in] Search parameter for finding text.
- ppEnum
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsEnumSyntheticRegions^
[out] The resulting enumeration.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: