IVsUICollection.get_Count(UInt32) 方法

定义

返回集合中的项数。

public:
 int get_Count([Runtime::InteropServices::Out] System::UInt32 % pnCount);
public int get_Count (out uint pnCount);
abstract member get_Count :  -> int
Public Function get_Count (ByRef pnCount As UInteger) As Integer

参数

pnCount
UInt32

弄要返回的项数。

返回

Int32

如果返回计数,则返回 S_OK。

适用于