Share via


IVsCodeDefViewContext.GetCount(UInt32) Method

Definition

Returns a count of the context items.

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

The number of context items in the project.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsCodeDefViewContext::GetCount(

ULONG *pcItems

);

Applies to