_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.StringRequired. Specifies the full path to the directory where the Add-in or wizard is installed.
Name
Type: System.StringRequired. 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.