Bagikan melalui


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
public V GetService<T, V>()
public:
generic<typename T, typename V>
virtual V GetService() sealed
abstract GetService : unit -> 'V 
override GetService : unit -> 'V 
JScript does not support generic types or methods.

Type Parameters

  • T
  • V

Return Value

Type: V

.NET Framework Security

See Also

Reference

PluginHostPackage Class

GetService Overload

Microsoft.TeamFoundation.Common Namespace