Partager via


IVsEnumSyntheticRegions.GetCount(UInt32) Method

Definition

Returns the total count of synthetic regions in the enumeration sequence.

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] Total count of synthetic regions in the enumeration sequence.

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 IVsEnumSyntheticRegions::GetCount(  
   [out] ULONG *pcRegions  
);  

Applies to