Share via


IVsEnumBSTR.GetCount(UInt32) Method

Definition

Returns the total count of BSTRs in the enumeration sequence.

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

Parameters

pceltCount
UInt32

[out] Number of BSTRs.

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

Applies to