共用方式為


FileSystemContentWriterDynamicParameters Class

Definition

Defines the dynamic parameters used by the set-content and add-content cmdlets.

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

Constructors

FileSystemContentWriterDynamicParameters()

Properties

AsByteStream

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

(Inherited from FileSystemContentDynamicParametersBase)
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)
NoNewline

False to add a newline to the end of the output string, true if not.

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)
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