Partager via


IVsFontAndColorDefaults.GetItemCount(Int32) Method

Definition

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.

public:
 int GetItemCount([Runtime::InteropServices::Out] int % pcItems);
int GetItemCount([Runtime::InteropServices::Out] int & pcItems);
public int GetItemCount (out int pcItems);
abstract member GetItemCount : int -> int
Public Function GetItemCount (ByRef pcItems As Integer) As Integer

Parameters

pcItems
Int32

[out] Pointer to the number of colorable items.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsFontAndColorDefaults::GetItemCount(  
   [out] LONG *pcItems  
);  

Applies to