IVsFontAndColorDefaultsProvider.GetObject(Guid, Object) Méthode

Définition

Retourne une IVsFontAndColorDefaults interface ou IVsFontAndColorGroup IVsFontAndColorDefaults pour la catégorie spécifiée par le rguidCategory paramètre.

public:
 int GetObject(Guid % rguidCategory, [Runtime::InteropServices::Out] System::Object ^ % ppObj);
public int GetObject (ref Guid rguidCategory, out object ppObj);
abstract member GetObject : Guid * obj -> int
Public Function GetObject (ByRef rguidCategory As Guid, ByRef ppObj As Object) As Integer

Paramètres

rguidCategory
Guid

[in] Spécifie le GUID de la catégorie.

ppObj
Object

[out] Interface IUnknown, qui doit être interrogée pour une interface IVsFontAndColorGroup ou IVsFontAndColorDefaults.

Retours

Int32

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

Remarques

Signature COM

À partir de vsshell. idl :

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

S’applique à