Condividi tramite


Metodo VsShellUtilities.TryGetPackageExtensionPoint<TExtensionPoint, TInterface>

Spazio dei nomi:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Sintassi

'Dichiarazione
Public Shared Function TryGetPackageExtensionPoint(Of TExtensionPoint As Class, TInterface As Class) ( _
    package As Guid, _
    instance As Guid _
) As TInterface
public static TInterface TryGetPackageExtensionPoint<TExtensionPoint, TInterface>(
    Guid package,
    Guid instance
)
where TExtensionPoint : class
where TInterface : class

Parametri di tipo

  • TExtensionPoint
  • TInterface

Parametri

Valore restituito

Tipo: TInterface

Sicurezza di .NET Framework

Vedere anche

Riferimenti

VsShellUtilities Classe

Spazio dei nomi Microsoft.VisualStudio.Shell