Sdílet prostřednictvím


FileSystemContentReaderDynamicParameters Class

Definition

Defines the dynamic parameters used by the get-content cmdlet.

public ref class FileSystemContentReaderDynamicParameters : Microsoft::PowerShell::Commands::FileSystemContentDynamicParametersBase
[Windows::Foundation::Metadata::WebHostHidden]
class FileSystemContentReaderDynamicParameters : Microsoft::PowerShell::Commands::FileSystemContentDynamicParametersBase
public class FileSystemContentReaderDynamicParameters : Microsoft.PowerShell.Commands.FileSystemContentDynamicParametersBase
type FileSystemContentReaderDynamicParameters = class
    inherit FileSystemContentDynamicParametersBase
Public Class FileSystemContentReaderDynamicParameters
Inherits FileSystemContentDynamicParametersBase
Inheritance
FileSystemContentReaderDynamicParameters

Constructors

FileSystemContentReaderDynamicParameters()

Properties

AsByteStream

Return file contents as a byte stream or create file from a series of bytes.

(Inherited from FileSystemContentDynamicParametersBase)
Delimiter

Gets or sets the delimiter to use when reading the file. Custom delimiters may not be used when the file is opened with a "Byte" encoding.

DelimiterSpecified

Gets the status of the delimiter parameter. Returns true if the delimiter was explicitly specified by the user, false otherwise.

Encoding

Gets or sets the encoding method used when reading data from the file.

(Inherited from FileSystemContentDynamicParametersBase)
EncodingType

Gets the encoding from the specified StreamType parameter.

(Inherited from FileSystemContentDynamicParametersBase)
Raw

When the Raw switch is present, we don't do any breaks on newlines, and only emit one object to the pipeline: all of the content.

Stream

A parameter to return a stream of an item.

(Inherited from FileSystemContentDynamicParametersBase)
UsingByteEncoding

Gets the Byte Encoding status of the StreamType parameter. Returns true if the stream was opened with "Byte" encoding, false otherwise.

(Inherited from FileSystemContentDynamicParametersBase)
Wait

Gets or sets the Wait flag. The wait flag determines if we want the read-content call to poll (and wait) for changes to the file, rather than exit after the content has been read.

WasStreamTypeSpecified

Gets the status of the StreamType parameter. Returns true if the stream was opened with a user-specified encoding, false otherwise.

(Inherited from FileSystemContentDynamicParametersBase)

Applies to