Método IVsFontAndColorDefaultsProvider.GetObject (Guid, Object)

 

Retorna um IVsFontAndColorDefaults ou um IVsFontAndColorGroupIVsFontAndColorDefaults interface para a categoria especificada pelo rguidCategory parâmetro.

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

Sintaxe

int GetObject(
    [InAttribute] ref Guid rguidCategory,
    out object ppObj
)
int GetObject(
    [InAttribute] Guid% rguidCategory,
    [OutAttribute] Object^% ppObj
)
abstract GetObject : 
        rguidCategory:Guid byref *
        ppObj:Object byref -> int
Function GetObject (
    <InAttribute> ByRef rguidCategory As Guid,
    <OutAttribute> ByRef ppObj As Object
) As Integer

Parâmetros

  • rguidCategory
    [in] Especifica o GUID da categoria.

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De vsshell.idl:

HRESULT IVsFontAndColorDefaultsProvider::GetObject(
   [in] REFGUID rguidCategory,
   [out] IUnknown **ppObj
);

Consulte também

Interface IVsFontAndColorDefaultsProvider
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo