Share via


BaseCodeGeneratorWithSite.GetService Method (Type)

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.VSHost.11.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.11.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

  • service
    Type: Type

Return Value

Type: Object

.NET Framework Security

See Also

Reference

BaseCodeGeneratorWithSite Class

GetService Overload

Microsoft.VisualStudio.TextTemplating.VSHost Namespace