EditorFactoryPackage.IVsFontAndColorDefaultsProvider.GetObject Method

Definition

Returns an IVsFontAndColorDefaults or an IVsFontAndColorGroupIVsFontAndColorDefaults interface for the category specified by the rguidCategory parameter.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsFontAndColorDefaultsProvider.GetObject(Guid % rguidCategory, [Runtime::InteropServices::Out] System::Object ^ % ppObj) = Microsoft::VisualStudio::Shell::Interop::IVsFontAndColorDefaultsProvider::GetObject;
int IVsFontAndColorDefaultsProvider.GetObject (ref Guid rguidCategory, out object ppObj);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsFontAndColorDefaultsProvider.GetObject : Guid * obj -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsFontAndColorDefaultsProvider.GetObject : Guid * obj -> int
Function GetObject (ByRef rguidCategory As Guid, ByRef ppObj As Object) As Integer Implements IVsFontAndColorDefaultsProvider.GetObject

Parameters

rguidCategory
Guid

Specifies the GUID of the category.

ppObj
Object

An IUnknown interface, which must be queried for either an IVsFontAndColorGroup or IVsFontAndColorDefaults interface.

Returns

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

Implements

Applies to