BaseCodeGeneratorWithSite.GetService (Método) (Type)
Espacio de nombres: Microsoft.VisualStudio.TextTemplating.VSHost
Ensamblado: Microsoft.VisualStudio.TextTemplating.VSHost.11.0 (en Microsoft.VisualStudio.TextTemplating.VSHost.11.0.dll)
Sintaxis
'Declaración
Protected Function GetService ( _
service As Type _
) As Object
protected Object GetService(
Type service
)
protected:
Object^ GetService(
Type^ service
)
member GetService :
service:Type -> Object
protected function GetService(
service : Type
) : Object
Parámetros
- service
Tipo: System.Type
Valor devuelto
Tipo: System.Object
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
BaseCodeGeneratorWithSite Clase
Microsoft.VisualStudio.TextTemplating.VSHost (Espacio de nombres)