PSModuleInfo.GetVariableFromCallersModule(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.
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