Condividi tramite


Metodo ServiceProvider.GetServiceImpl (Type)

Fornisce l'implementazione per recuperare un servizio di un tipo specifico.

Spazio dei nomi:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Sintassi

'Dichiarazione
Protected Overridable Function GetServiceImpl ( _
    serviceType As Type _
) As Object
protected virtual Object GetServiceImpl(
    Type serviceType
)
protected:
virtual Object^ GetServiceImpl(
    Type^ serviceType
)
abstract GetServiceImpl : 
        serviceType:Type -> Object  
override GetServiceImpl : 
        serviceType:Type -> Object
protected function GetServiceImpl(
    serviceType : Type
) : Object

Parametri

  • serviceType
    Tipo: Type

    Un tipo di servizio.

Valore restituito

Tipo: Object
Restituisce il servizio del tipo specificato, o restituisce nullriferimento null (Nothing in Visual Basic) se nessun servizio stato trovato.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ServiceProvider Classe

Overload GetServiceImpl

Spazio dei nomi Microsoft.VisualStudio.Data

IServiceProvider