Compartilhar via


DTE2.SatelliteDllPath Method

Returns the computed path to the satellite DLL when given the installation directory for an Add-in or wizard and the file name of the DLL containing localized resources.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

'Declaration
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

Parameters

  • Path
    Type: String

    Required. Specifies the full path to the directory where the Add-in or wizard is installed.

  • Name
    Type: String

    Required. The file name for the satellite DLL, such as "MyAddinUI.DLL."

Return Value

Type: String
A string representing the computed path to the satellite DLL.

Examples

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

.NET Framework Security

See Also

Reference

DTE2 Interface

EnvDTE80 Namespace