共用方式為


_DTE.SatelliteDllPath(String, String) Method

Definition

Returns the computed path to the satellite DLL when given the installation directory and the file name of the DLL containing localized resources.

public:
 System::String ^ SatelliteDllPath(System::String ^ Path, System::String ^ Name);
public:
 Platform::String ^ SatelliteDllPath(Platform::String ^ Path, Platform::String ^ Name);
std::wstring SatelliteDllPath(std::wstring const & Path, std::wstring const & Name);
[System.Runtime.InteropServices.DispId(245)]
public string SatelliteDllPath (string Path, string Name);
[<System.Runtime.InteropServices.DispId(245)>]
abstract member SatelliteDllPath : string * string -> string
Public Function SatelliteDllPath (Path As String, Name As String) As String

Parameters

Path
String

Required. Specifies the full path to the directory where the main application is installed.

Name
String

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

Returns

A string representing the computed path to the satellite DLL.

Attributes

Examples

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

Applies to