Compartilhar via


VsHiddenTextLayerClass.EnumHiddenRegions Method

Definition

Overloads

EnumHiddenRegions(UInt32, IntPtr, TextSpan[], IVsEnumHiddenRegions)
EnumHiddenRegions(UInt32, UInt32, TextSpan[], IVsEnumHiddenRegions)

Returns a list of the current hidden regions.

EnumHiddenRegions(UInt32, IntPtr, TextSpan[], IVsEnumHiddenRegions)

public:
 virtual int EnumHiddenRegions(System::UInt32 dwFindFlags, IntPtr filterData, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ ptsRange, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumHiddenRegions ^ % ppEnum);
public virtual int EnumHiddenRegions (uint dwFindFlags, IntPtr filterData, Microsoft.VisualStudio.TextManager.Interop.TextSpan[] ptsRange, out Microsoft.VisualStudio.TextManager.Interop.IVsEnumHiddenRegions ppEnum);
abstract member EnumHiddenRegions : uint32 * nativeint * Microsoft.VisualStudio.TextManager.Interop.TextSpan[] * IVsEnumHiddenRegions -> int
override this.EnumHiddenRegions : uint32 * nativeint * Microsoft.VisualStudio.TextManager.Interop.TextSpan[] * IVsEnumHiddenRegions -> int
Public Overridable Function EnumHiddenRegions (dwFindFlags As UInteger, filterData As IntPtr, ptsRange As TextSpan(), ByRef ppEnum As IVsEnumHiddenRegions) As Integer

Parameters

dwFindFlags
UInt32
filterData
IntPtr

nativeint

ptsRange
TextSpan[]

Returns

Implements

Applies to

EnumHiddenRegions(UInt32, UInt32, TextSpan[], IVsEnumHiddenRegions)

Returns a list of the current hidden regions.

public:
 virtual int EnumHiddenRegions(System::UInt32 dwFindFlags, System::UInt32 dwCookie, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ ptsRange, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumHiddenRegions ^ % ppEnum) = Microsoft::VisualStudio::TextManager::Interop::IVsHiddenTextSession::EnumHiddenRegions;
public:
 virtual int EnumHiddenRegions(unsigned int dwFindFlags, unsigned int dwCookie, Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ ptsRange, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumHiddenRegions ^ &  ppEnum) = Microsoft::VisualStudio::TextManager::Interop::IVsHiddenTextSession::EnumHiddenRegions;
 virtual int EnumHiddenRegions(unsigned int dwFindFlags, unsigned int dwCookie, std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & ptsRange, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumHiddenRegions const & & ppEnum);
public virtual int EnumHiddenRegions (uint dwFindFlags, uint dwCookie, Microsoft.VisualStudio.TextManager.Interop.TextSpan[] ptsRange, out Microsoft.VisualStudio.TextManager.Interop.IVsEnumHiddenRegions ppEnum);
abstract member EnumHiddenRegions : uint32 * uint32 * Microsoft.VisualStudio.TextManager.Interop.TextSpan[] * IVsEnumHiddenRegions -> int
override this.EnumHiddenRegions : uint32 * uint32 * Microsoft.VisualStudio.TextManager.Interop.TextSpan[] * IVsEnumHiddenRegions -> int
Public Overridable Function EnumHiddenRegions (dwFindFlags As UInteger, dwCookie As UInteger, ptsRange As TextSpan(), ByRef ppEnum As IVsEnumHiddenRegions) As Integer

Parameters

dwFindFlags
UInt32

[in] Options for finding hidden regions. For more information, see FIND_HIDDEN_REGION_FLAGS.

dwCookie
UInt32

[in] Specifies the client-defined hidden region type to find. Specify a value that matches the client-defined identifier specified during the creation of the new hidden region (that is, the dwClient member in the NewHiddenRegion structure).

ptsRange
TextSpan[]

[in] Specifies the range of text over which to enumerate the hidden regions.

ppEnum
IVsEnumHiddenRegions

[out] Pointer to an IVsEnumHiddenRegions object that is used to enumerate hidden regions of specified type over the specified range in the text buffer.

Returns

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

Implements

Applies to