Compartilhar via


IVsFontAndColorDefaultsProvider.GetObject(Guid, Object) Method

Definition

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

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

Parameters

rguidCategory
Guid

[in] Specifies the GUID of the category.

ppObj
Object

[out] 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 error code.

Remarks

COM Signature

From vsshell.idl:

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

Applies to