Partager via


BaseCodeGeneratorWithSite.GetService Method (Guid)

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 Guid _
) As Object
protected Object GetService(
    Guid service
)
protected:
Object^ GetService(
    Guid service
)
member GetService : 
        service:Guid -> Object
protected function GetService(
    service : Guid
) : Object

Parameters

Return Value

Type: System.Object

.NET Framework Security

See Also

Reference

BaseCodeGeneratorWithSite Class

GetService Overload

Microsoft.VisualStudio.TextTemplating.VSHost Namespace