Condividi tramite


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

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

See Also

Reference

IVsHiddenTextSessionEx Interface

IVsHiddenTextSessionEx Members

Microsoft.VisualStudio.TextManager.Interop Namespace