共用方式為


IVsEnumGUID.GetCount(UInt32) Method

Definition

Returns the total count of GUIDs 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 GUIDs 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 IVsEnumGUID::GetCount(  
   [out] ULONG *pceltCount  
);  

Applies to