IVsFontAndColorDefaults::GetItemCount Method (Int32)

 

Returns the number of colorable Display items in the Options dialog box. The Display items are provided by the selected option in the Show Settings for: drop-down list.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetItemCount(
	[OutAttribute] int% pcItems
)

Parameters

pcItems
Type: System::Int32

[out] Pointer to the number of colorable items.

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsFontAndColorDefaults::GetItemCount(
   [out] LONG *pcItems
);
Return to top
Show: