IVsHiddenTextSessionEx.AddHiddenRegionsEx Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Dichiarazione
Function AddHiddenRegionsEx ( _
dwUpdateFlags As UInteger, _
cRegions As Integer, _
rgHidReg As NewHiddenRegionEx(), _
<OutAttribute> ByRef ppEnum As IVsEnumHiddenRegions _
) As Integer
'Utilizzo
Dim instance As IVsHiddenTextSessionEx
Dim dwUpdateFlags As UInteger
Dim cRegions As Integer
Dim rgHidReg As NewHiddenRegionEx()
Dim ppEnum As IVsEnumHiddenRegions
Dim returnValue As Integer
returnValue = instance.AddHiddenRegionsEx(dwUpdateFlags, _
cRegions, rgHidReg, ppEnum)
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
Parameters
- dwUpdateFlags
Type: System.UInt32
[in] Updates flags. For information on values for dwUpdateFlags see CHANGE_HIDDEN_REGION_FLAGS.
- cRegions
Type: System.Int32
[in]
- rgHidReg
Type: array<Microsoft.VisualStudio.TextManager.Interop.NewHiddenRegionEx[]
[in]
- ppEnum
Type: Microsoft.VisualStudio.TextManager.Interop.IVsEnumHiddenRegions%
[out]
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr2.idl:
HRESULT IVsHiddenTextSessionEx::AddHiddenRegionsEx(
[in] DWORD dwUpdateFlags,
[in] long cRegions,
[in, size_is(cRegions)] NewHiddenRegionEx *rgHidReg,
[out] IVsEnumHiddenRegions **ppEnum
);
.NET Framework Security
- 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.
See Also
Reference
IVsHiddenTextSessionEx Interface