Condividi tramite


EditorFactoryPackage.IVsFontAndColorDefaultsProvider.GetObject Metodo

Definizione

Restituisce un'interfaccia IVsFontAndColorDefaults o IVsFontAndColorGroupIVsFontAndColorDefaults per la categoria specificata dal parametro rguidCategory.

 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

Parametri

rguidCategory
Guid

Specifica il GUID della categoria.

ppObj
Object

Interfaccia IUnknown su cui deve essere eseguita una query per un'interfaccia IVsFontAndColorGroup o IVsFontAndColorDefaults.

Restituisce

Se il metodo ha esito positivo, viene restituito S_OK. Se ha esito negativo, viene restituito un codice di errore Int32.

Implementazioni

Si applica a