ServiceProviderHelper.GetService<T> Method
Gets the service.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Function GetService(Of T) As T
'Usage
Dim instance As ServiceProviderHelper
Dim returnValue As T
returnValue = instance.GetService()
public T GetService<T>()
public:
generic<typename T>
T GetService()
JScript does not support generic types or methods.
member GetService : unit -> 'T
Type Parameters
- T
Return Value
Type: T
.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.