ModuleIntrinsics.GetModulePath(String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks the various PSModulePath environment string and returns PSModulePath string as appropriate.
public:
static System::String ^ GetModulePath(System::String ^ currentProcessModulePath, System::String ^ hklmMachineModulePath, System::String ^ hkcuUserModulePath);
public:
static Platform::String ^ GetModulePath(Platform::String ^ currentProcessModulePath, Platform::String ^ hklmMachineModulePath, Platform::String ^ hkcuUserModulePath);
static std::wstring GetModulePath(std::wstring const & currentProcessModulePath, std::wstring const & hklmMachineModulePath, std::wstring const & hkcuUserModulePath);
public static string GetModulePath (string currentProcessModulePath, string hklmMachineModulePath, string hkcuUserModulePath);
static member GetModulePath : string * string * string -> string
Public Shared Function GetModulePath (currentProcessModulePath As String, hklmMachineModulePath As String, hkcuUserModulePath As String) As String
Parameters
- currentProcessModulePath
- String
- hklmMachineModulePath
- String
- hkcuUserModulePath
- String