IVsHiddenTextSessionEx::AddHiddenRegionsEx Method (UInt32, Int32, array<NewHiddenRegionEx>^, IVsEnumHiddenRegions^)
Visual Studio 2015
Adds IVsHiddenRegionEx objects.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int AddHiddenRegionsEx( unsigned int dwUpdateFlags, int cRegions, array<NewHiddenRegionEx>^ rgHidReg, [OutAttribute] IVsEnumHiddenRegions^% ppEnum )
Parameters
- dwUpdateFlags
-
Type:
System::UInt32
[in] Updates flags. For information on values for dwUpdateFlags see CHANGE_HIDDEN_REGION_FLAGS.
- cRegions
-
Type:
System::Int32
[in] The number of regions to add.
- rgHidReg
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::NewHiddenRegionEx>^
[in] The array of IVsHiddenRegionEx objects.
- ppEnum
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsEnumHiddenRegions^
[out] An IVsEnumHiddenRegions object that can be used to enumerate the hidden regions in the text buffer.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr2.idl:
HRESULT IVsHiddenTextSessionEx::AddHiddenRegionsEx( [in] DWORD dwUpdateFlags, [in] long cRegions, [in, size_is(cRegions)] NewHiddenRegionEx *rgHidReg, [out] IVsEnumHiddenRegions **ppEnum );
Show: