Partager via


DTE2.SatelliteDllPath, méthode

Retourne le chemin calculé à la DLL satellite lorsque le répertoire d'installation d'un complément ou d'un Assistant et le nom de fichier de la DLL contenant les ressources localisées sont spécifiés.

Espace de noms :  EnvDTE80
Assembly :  EnvDTE80 (dans EnvDTE80.dll)

Syntaxe

'Déclaration
Function SatelliteDllPath ( _
    Path As String, _
    Name As String _
) As String
string SatelliteDllPath(
    string Path,
    string Name
)
String^ SatelliteDllPath(
    String^ Path, 
    String^ Name
)
abstract SatelliteDllPath : 
        Path:string * 
        Name:string -> string
function SatelliteDllPath(
    Path : String, 
    Name : String
) : String

Paramètres

  • Path
    Type : String

    Obligatoire. Indique le chemin d'accès complet au répertoire dans lequel est installé le complément ou l'Assistant.

  • Name
    Type : String

    Obligatoire. Nom de fichier de la bibliothèque DLL satellite ; par exemple, "MyAddinUI.DLL".

Valeur de retour

Type : String
Chaîne représentant le chemin d'accès calculé à la DLL satellite.

Exemples

Sub SatelliteDLLPathExample()
  MsgBox(DTE2.SatelliteDllPath("C:\MyAddinProjects", "MyAddinUI.dll"))
End Sub

Sécurité .NET Framework

Voir aussi

Référence

DTE2 Interface

EnvDTE80, espace de noms