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
- 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.