IVsEnumHiddenRegions.GetCount(UInt32) Method

Definition

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

public:
 int GetCount([Runtime::InteropServices::Out] System::UInt32 % pcRegions);
int GetCount([Runtime::InteropServices::Out] unsigned int & pcRegions);
public int GetCount (out uint pcRegions);
abstract member GetCount : uint32 -> int
Public Function GetCount (ByRef pcRegions As UInteger) As Integer

Parameters

pcRegions
UInt32

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

Returns

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  
);  

Applies to