IVsHiddenTextSessionEx.AddHiddenRegionsEx Method
Adds IVsHiddenRegionEx objects.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
‘선언
Function AddHiddenRegionsEx ( _
dwUpdateFlags As UInteger, _
cRegions As Integer, _
rgHidReg As NewHiddenRegionEx(), _
<OutAttribute> ByRef ppEnum As IVsEnumHiddenRegions _
) As Integer
int AddHiddenRegionsEx(
uint dwUpdateFlags,
int cRegions,
NewHiddenRegionEx[] rgHidReg,
out IVsEnumHiddenRegions ppEnum
)
int AddHiddenRegionsEx(
[InAttribute] unsigned int dwUpdateFlags,
[InAttribute] int cRegions,
[InAttribute] array<NewHiddenRegionEx>^ rgHidReg,
[OutAttribute] IVsEnumHiddenRegions^% ppEnum
)
abstract AddHiddenRegionsEx :
dwUpdateFlags:uint32 *
cRegions:int *
rgHidReg:NewHiddenRegionEx[] *
ppEnum:IVsEnumHiddenRegions byref -> int
function AddHiddenRegionsEx(
dwUpdateFlags : uint,
cRegions : int,
rgHidReg : NewHiddenRegionEx[],
ppEnum : IVsEnumHiddenRegions
) : int
- 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.
Type: System.Int32
If 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
);
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.