IVsFontAndColorDefaults.GetItemCount(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);