This topic has not yet been rated - Rate this topic

PathIntrinsics.PushCurrentLocation Method

Pushes the current location onto the specified location stack or the default location stack.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)
'Usage
Dim instance As PathIntrinsics
Dim stackName As String

instance.PushCurrentLocation(stackName)
public void PushCurrentLocation (
	string stackName
)
public void PushCurrentLocation (
	String stackName
)
public function PushCurrentLocation (
	stackName : String
)

Parameters

stackName

The name (identifier) of the specified location stack.

If no stack name is specified, the current location is pushed onto the default location stack. To set the default location stack, see the SetDefaultLocationStack method.

To pop off the last location from the stack, see the PopLocation method.

To retrieve the complete location stack, see the LocationStack method.


Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.