共用方式為


IVsSelectedSymbols.GetCount(UInt32) Method

Definition

Gets the number of selected symbols in the collection.

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

Parameters

pcItems
UInt32

[out] The number of selected symbols.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsSelectedSymbols::GetCount(  
   [out] ULONG *pcItems  
);  

Applies to