Share via


EditorFactoryPackage.IVsFontAndColorDefaultsProvider.GetObject Método

Definição

Retorna uma interface IVsFontAndColorDefaults ou IVsFontAndColorGroupIVsFontAndColorDefaults para a categoria especificada pelo parâmetro 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

Parâmetros

rguidCategory
Guid

Especifica o GUID da categoria.

ppObj
Object

Uma interface IUnknown que deve ser consultada para uma interface IVsFontAndColorGroup ou IVsFontAndColorDefaults.

Retornos

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro Int32.

Implementações

Aplica-se a