Share via


PredictionClient.CurrentLocation Property

Definition

Gets the current location of the default session. It returns null if there is no default Runspace or if the default is a remote Runspace.

[System.Runtime.CompilerServices.Nullable(2)]
public System.Management.Automation.PathInfo? CurrentLocation { [System.Runtime.CompilerServices.NullableContext(2)] get; [System.Runtime.CompilerServices.NullableContext(2)] set; }
[<System.Runtime.CompilerServices.Nullable(2)>]
[<get: System.Runtime.CompilerServices.NullableContext(2)>]
[<set: System.Runtime.CompilerServices.NullableContext(2)>]
member this.CurrentLocation : System.Management.Automation.PathInfo with get, set
Public Property CurrentLocation As PathInfo

Property Value

Attributes

Applies to