Share via


IServiceProvider.QueryService, méthode

Espace de noms :  Microsoft.VisualStudio.OLE.Interop
Assembly :  Microsoft.VisualStudio.OLE.Interop (dans Microsoft.VisualStudio.OLE.Interop.dll)

Syntaxe

'Déclaration
Function QueryService ( _
    ByRef guidService As Guid, _
    ByRef riid As Guid, _
    <OutAttribute> ByRef ppvObject As IntPtr _
) As Integer
int QueryService(
    ref Guid guidService,
    ref Guid riid,
    out IntPtr ppvObject
)

Paramètres

Valeur de retour

Type : System.Int32

Sécurité .NET Framework

Voir aussi

Référence

IServiceProvider Interface

Microsoft.VisualStudio.OLE.Interop, espace de noms