Partager via


BaseCodeGeneratorWithSite.GetService Method (Type)

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.VSHost.12.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.12.0.dll)

Syntax

'Declaration
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

Parameters

Return Value

Type: System.Object

.NET Framework Security

See Also

Reference

BaseCodeGeneratorWithSite Class

GetService Overload

Microsoft.VisualStudio.TextTemplating.VSHost Namespace