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: System.String
Required. Specifies the full path to the directory where the Add-in or wizard is installed.
- Name
Type: System.String
Required. The file name for the satellite DLL, such as "MyAddinUI.DLL."
Return Value
Type: System.String
A string representing the computed path to the satellite DLL.
Implements
_DTE.SatelliteDllPath(String, String)
Examples
Sub SatelliteDLLPathExample()
MsgBox(DTE2.SatelliteDllPath("C:\MyAddinProjects", "MyAddinUI.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.