Udostępnij za pośrednictwem


PSParseError.Token Property

Definition

The token that indicates the error location.

public:
 property System::Management::Automation::PSToken ^ Token { System::Management::Automation::PSToken ^ get(); };
public System.Management.Automation.PSToken Token { get; }
member this.Token : System.Management.Automation.PSToken
Public ReadOnly Property Token As PSToken

Property Value

Remarks

This can either be the real token at which place the error happens or a position token indicating the location where error happens.

Applies to