Condividi tramite


Metodo VSDiagramViewSite.GetService

ottiene il servizio di tipo specificato.

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

Sintassi

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

Parametri

Valore restituito

Tipo: System.Object

Implementa

IServiceProvider.GetService(Type)

Sicurezza di .NET Framework

Vedere anche

Riferimenti

VSDiagramViewSite Classe

Spazio dei nomi Microsoft.VisualStudio.Modeling.Shell