Share via


IHostPlugin.GetService<T> Method

Namespace:  Microsoft.VisualStudio.TeamFoundation
Assembly:  Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)

Syntax

'Declaration
Function GetService(Of T) As T
T GetService<T>()
generic<typename T>
T GetService()
abstract GetService : unit -> 'T 
JScript does not support generic types or methods.

Type Parameters

  • T

Return Value

Type: T
Returns {0}.

.NET Framework Security

See Also

Reference

IHostPlugin Interface

GetService Overload

Microsoft.VisualStudio.TeamFoundation Namespace