다음을 통해 공유


ModuleCmdletBase.ImportModuleMembers Method

Definition

Overloads

ImportModuleMembers(PSModuleInfo, String)

Import the script-level functions from one session state to another, calling WriteVerbose for each imported member...

ImportModuleMembers(PSModuleInfo, String, ModuleCmdletBase+ImportModuleOptions)

Import the script-level functions from one session state to another, calling WriteVerbose for each imported member...

ImportModuleMembers(PSModuleInfo, String)

Import the script-level functions from one session state to another, calling WriteVerbose for each imported member...

protected public:
 void ImportModuleMembers(System::Management::Automation::PSModuleInfo ^ sourceModule, System::String ^ prefix);
protected internal void ImportModuleMembers (System.Management.Automation.PSModuleInfo sourceModule, string prefix);
member this.ImportModuleMembers : System.Management.Automation.PSModuleInfo * string -> unit
Protected Friend Sub ImportModuleMembers (sourceModule As PSModuleInfo, prefix As String)

Parameters

sourceModule
PSModuleInfo

The session state instance to use as the source of the functions.

prefix
String

Command name prefix.

Applies to

ImportModuleMembers(PSModuleInfo, String, ModuleCmdletBase+ImportModuleOptions)

Import the script-level functions from one session state to another, calling WriteVerbose for each imported member...

protected public:
 void ImportModuleMembers(System::Management::Automation::PSModuleInfo ^ sourceModule, System::String ^ prefix, Microsoft::PowerShell::Commands::ModuleCmdletBase::ImportModuleOptions options);
protected internal void ImportModuleMembers (System.Management.Automation.PSModuleInfo sourceModule, string prefix, Microsoft.PowerShell.Commands.ModuleCmdletBase.ImportModuleOptions options);
member this.ImportModuleMembers : System.Management.Automation.PSModuleInfo * string * Microsoft.PowerShell.Commands.ModuleCmdletBase.ImportModuleOptions -> unit
Protected Friend Sub ImportModuleMembers (sourceModule As PSModuleInfo, prefix As String, options As ModuleCmdletBase.ImportModuleOptions)

Parameters

sourceModule
PSModuleInfo

The session state instance to use as the source of the functions.

prefix
String

Command name prefix.

options
ModuleCmdletBase.ImportModuleOptions

The set of options that are used while importing a module.

Applies to