PathIntrinsics.SetDefaultLocationStack(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.
Sets the default ___location stack to that specified by the stack ID.
public:
System::Management::Automation::PathInfoStack ^ SetDefaultLocationStack(System::String ^ stackName);
public System.Management.Automation.PathInfoStack SetDefaultLocationStack (string stackName);
member this.SetDefaultLocationStack : string -> System.Management.Automation.PathInfoStack
Public Function SetDefaultLocationStack (stackName As String) As PathInfoStack
Parameters
- stackName
- String
The stack ID of the stack to use as the default ___location stack.
Returns
Exceptions
If stackName
does not exist as a ___location stack.