IVsFontAndColorGroup.GetCategory(Int32, Guid) Method

Definition

Returns the GUID of the one of the categories within a group as identified by a group index.

public:
 int GetCategory(int iCategory, [Runtime::InteropServices::Out] Guid % pguidCategory);
public int GetCategory (int iCategory, out Guid pguidCategory);
abstract member GetCategory : int * Guid -> int
Public Function GetCategory (iCategory As Integer, ByRef pguidCategory As Guid) As Integer

Parameters

iCategory
Int32

[in] Integer containing the category index number.

pguidCategory
Guid

[out] Pointer to a GUID specifying the indexed category.

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::GetCategory(  
   [in] int iCategory,  
   [out] GUID *pguidCategory  
);  

Applies to