VsSyntheticTextLayerClass.EnumSyntheticRegions Method

Definition

Returns a static snapshot list of synthetic regions.

public:
 virtual int EnumSyntheticRegions(unsigned int dwFindFlags, unsigned int dwCookie, Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ ptsRange, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumSyntheticRegions ^ &  ppEnum) = Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticTextSession::EnumSyntheticRegions;

Parameters

dwFindFlags
UInt32

[in] Indicates how to find the region. For values of dwFindFlags see the FIND_SYNTHETIC_REGION_FLAGS enum.

dwCookie
UInt32

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

ptsRange
TextSpan[]

[in] Search parameter for finding text.

ppEnum
IVsEnumSyntheticRegions

[out] The resulting enumeration.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to