Método BaseCodeGeneratorWithSite.GetService (Type)

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.VSHost.10.0 (em Microsoft.VisualStudio.TextTemplating.VSHost.10.0.dll)

Sintaxe

'Declaração
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

Valor de retorno

Tipo: System.Object
Retorna Object.

Segurança do .NET Framework

Consulte também

Referência

BaseCodeGeneratorWithSite Classe

Sobrecargas GetService

Namespace Microsoft.VisualStudio.TextTemplating.VSHost