Partager via


PSModuleInfo.ModuleBase Property

Definition

Get the module base directory for this module. For modules loaded via a module manifest, this will be the directory containing the manifest file rather than the directory containing the actual module file. This is particularly useful when loading a GAC'ed assembly.

public:
 property System::String ^ ModuleBase { System::String ^ get(); };
public:
 property Platform::String ^ ModuleBase { Platform::String ^ get(); };
public string ModuleBase { get; }
member this.ModuleBase : string
Public ReadOnly Property ModuleBase As String

Property Value

Applies to