共用方式為


PathIntrinsics.PushCurrentLocation(String) Method

Definition

Pushes the current location onto the location stack so that it can be retrieved later.

public:
 void PushCurrentLocation(System::String ^ stackName);
public:
 void PushCurrentLocation(Platform::String ^ stackName);
void PushCurrentLocation(std::wstring const & stackName);
public void PushCurrentLocation (string stackName);
member this.PushCurrentLocation : string -> unit
Public Sub PushCurrentLocation (stackName As String)

Parameters

stackName
String

The ID of the stack to push the location onto.

Applies to