Dela via


FileRedirectionToken Class

Definition

A file redirection.

public ref class FileRedirectionToken : System::Management::Automation::Language::RedirectionToken
public class FileRedirectionToken : System.Management.Automation.Language.RedirectionToken
type FileRedirectionToken = class
    inherit RedirectionToken
Public Class FileRedirectionToken
Inherits RedirectionToken
Inheritance
FileRedirectionToken

Properties

Append

True if the redirection should append the file rather than create a new file.

Extent

Return the extent in the script of the token.

(Inherited from Token)
FromStream

The stream being redirected.

HasError

Returns true if the token is in error somehow, such as missing a closing quote.

(Inherited from Token)
Kind

Return the kind of token.

(Inherited from Token)
Text

Return the text of the token as it appeared in the script.

(Inherited from Token)
TokenFlags

Return the flags for the token.

(Inherited from Token)

Methods

ToString()

Return the text of the token as it appeared in the script.

(Inherited from Token)

Applies to