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
- service
Type: System.Type
Return Value
Type: System.Object
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.