Delen via


PSModuleInfo.GetVariableFromCallersModule(String) Method

Definition

This routine allows you to get access variable objects in the callers module or from the toplevel sessionstate if there is no calling module.

public:
 System::Management::Automation::PSVariable ^ GetVariableFromCallersModule(System::String ^ variableName);
public System.Management.Automation.PSVariable GetVariableFromCallersModule (string variableName);
member this.GetVariableFromCallersModule : string -> System.Management.Automation.PSVariable
Public Function GetVariableFromCallersModule (variableName As String) As PSVariable

Parameters

variableName
String

Returns

Applies to