Share via


ProjectPackage.GetService<TServiceObject, TServiceType> Method

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project.MPF
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Function GetService(Of TServiceObject, TServiceType) As TServiceType
'Usage
Dim instance As ProjectPackage 
Dim returnValue As TServiceType

returnValue = instance.GetService()
public TServiceType GetService<TServiceObject, TServiceType>()
public:
generic<typename TServiceObject, typename TServiceType>
TServiceType GetService()
JScript does not support generic types or methods.

Type Parameters

  • TServiceObject
  • TServiceType

Return Value

Type: TServiceType

.NET Framework Security

See Also

Reference

ProjectPackage Class

ProjectPackage Members

GetService Overload

Microsoft.VisualStudio.Data.Schema.Project.Project.MPF Namespace