Condividi tramite


Metodo Store.GetService

Ottiene un servizio.

Spazio dei nomi:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Sintassi

'Dichiarazione
Public Function GetService ( _
    serviceType As Type _
) As Object
public Object GetService(
    Type serviceType
)

Parametri

  • serviceType
    Tipo: System.Type
    Tipo di servizio da ottenere.

Valore restituito

Tipo: System.Object
Oggetto che rappresenta il ServiceType.

Implementa

IServiceProvider.GetService(Type)

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Store Classe

Spazio dei nomi Microsoft.VisualStudio.Modeling