Share via


ProjectPackage.GetService<TServiceObject, TServiceType> Method

This class and its members are reserved for internal use and are not intended to be used in your code.

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

Syntax

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

Type Parameters

  • TServiceObject
  • TServiceType

Return Value

Type: TServiceType
Service object.

.NET Framework Security

See Also

Reference

ProjectPackage Class

GetService Overload

Microsoft.VisualStudio.Data.Schema.Package.Project.Internal Namespace