Compartir a través de


IVsEnumHiddenRegions.GetCount Method

Returns the total count of hidden regions in the text buffer.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Function GetCount ( _
    <OutAttribute> ByRef pcRegions As UInteger _
) As Integer
int GetCount(
    out uint pcRegions
)
int GetCount(
    [OutAttribute] unsigned int% pcRegions
)
abstract GetCount : 
        pcRegions:uint32 byref -> int
function GetCount(
    pcRegions : uint
) : int

Parameters

  • pcRegions
    Type: System.UInt32%

    [out] Number of hidden regions in the text buffer.

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 textmgr.idl:

[C++]

HRESULT IVsEnumHiddenRegions::GetCount(
   [out] ULONG *pcRegions
);

.NET Framework Security

See Also

Reference

IVsEnumHiddenRegions Interface

Microsoft.VisualStudio.TextManager.Interop Namespace