Partilhar via


Método ProjectPackage.GetService<TServiceObject, TServiceType>

Essa classe e seus membros são reservados para uso interno e não se destina a ser usado em seu código.

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

Sintaxe

'Declaração
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 
O JScript não oferece suporte a tipos ou métodos genéricos.

Parâmetros de tipo

  • TServiceObject
  • TServiceType

Valor de retorno

Tipo: TServiceType
Objeto de serviço.

Segurança do .NET Framework

Consulte também

Referência

ProjectPackage Classe

Sobrecargas GetService

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