Share via


PluginHostPackage.GetService<T, V> Method

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

Syntax

'Declaration
Public Function GetService(Of T, V) As V
'Usage
Dim instance As PluginHostPackage 
Dim returnValue As V

returnValue = instance.GetService()
public V GetService<T, V>()
public:
generic<typename T, typename V>
virtual V GetService() sealed
JScript does not support generic types or methods.

Type Parameters

  • T
  • V

Return Value

Type: V

.NET Framework Security

See Also

Reference

PluginHostPackage Class

PluginHostPackage Members

GetService Overload

Microsoft.TeamFoundation.Common Namespace