Bagikan melalui


BasicHelper.GetService<T> Method

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

Syntax

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

Type Parameters

  • T

Return Value

Type: T

.NET Framework Security

See Also

Reference

BasicHelper Class

GetService Overload

Microsoft.TeamFoundation.Common Namespace