IVsFontAndColorGroup::GetCategory Method (Int32, Guid)

 

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

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

int GetCategory(
	int iCategory,
	[OutAttribute] Guid% pguidCategory
)

Parameters

iCategory
Type: System::Int32

[in] Integer containing the category index number.

pguidCategory
Type: System::Guid

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

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