IVsFontAndColorDefaults::GetItem Method (Int32, array<AllColorableItemInfo>^)
Visual Studio 2015
Returns an AllColorableItemInfo structure containing font and color information for specific member of the Display Items list for a given Category as indicated by the iItem parameter.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- iItem
-
Type:
System::Int32
[in] Integer containing the item index.
- pInfo
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::AllColorableItemInfo>^
[out] Reference to an AllColorableItemInfo structure, which contains the defaults attributes of the indexed Display Item.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsFontAndColorDefaults::GetItem(
[in] LONG iItem,
[out] AllColorableItemInfo *pInfo
);
Show: