Partager via


IVsFontAndColorGroup.GetCount(Int32) Method

Definition

Returns the number of categories represented by the group.

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

Parameters

pnCategories
Int32

[out] Reference to an integer containing the category count.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsFontAndColorGroup::GetCount(  
   [out] long *pnCategories  
);  

Applies to