Udostępnij za pośrednictwem


Metoda ServiceProvider.QueryService — (Type, Object%)

Przestrzeń nazw:  Microsoft.VisualStudio.Shell
Zestaw:  Microsoft.VisualStudio.Shell.11.0 (w Microsoft.VisualStudio.Shell.11.0.dll)

Składnia

'Deklaracja
Public Function QueryService ( _
    serviceType As Type, _
    <OutAttribute> ByRef service As Object _
) As Integer
public int QueryService(
    Type serviceType,
    out Object service
)

Parametry

Wartość zwracana

Typ: System.Int32

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ServiceProvider Klasa

Przeciążenie QueryService

Przestrzeń nazw Microsoft.VisualStudio.Shell