_DTE.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:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.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: System.String

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

  • Name
    Type: System.String

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

Return Value

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

Examples

Sub SatelliteDLLPathExample()
  MsgBox(DTE.SatelliteDllPath("c:\program files\microsoft visual studio .net\common7\ide", "msenv.dll"))
End Sub

.NET Framework Security

See Also

Reference

_DTE Interface

EnvDTE Namespace