Partager via


FileSystemContentDynamicParametersBase.Encoding Property

Definition

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

public:
 property System::Text::Encoding ^ Encoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };
public:
 property Microsoft::PowerShell::Commands::FileSystemCmdletProviderEncoding Encoding { Microsoft::PowerShell::Commands::FileSystemCmdletProviderEncoding get(); void set(Microsoft::PowerShell::Commands::FileSystemCmdletProviderEncoding value); };
public Microsoft.PowerShell.Commands.FileSystemCmdletProviderEncoding Encoding { get; set; }
[System.Management.Automation.Parameter]
[System.Management.Automation.ValidateNotNullOrEmpty]
public System.Text.Encoding Encoding { get; set; }
[System.Management.Automation.Parameter]
[System.Management.Automation.ValidateNotNullOrEmpty]
[System.Management.Automation.ArgumentCompletions(new System.String[] { "ascii", "bigendianunicode", "oem", "unicode", "utf7", "utf8", "utf8BOM", "utf8NoBOM", "utf32" })]
public System.Text.Encoding Encoding { get; set; }
member this.Encoding : Microsoft.PowerShell.Commands.FileSystemCmdletProviderEncoding with get, set
[<System.Management.Automation.Parameter>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Encoding : System.Text.Encoding with get, set
[<System.Management.Automation.Parameter>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
[<System.Management.Automation.ArgumentCompletions(new System.String[] { "ascii", "bigendianunicode", "oem", "unicode", "utf7", "utf8", "utf8BOM", "utf8NoBOM", "utf32" })>]
member this.Encoding : System.Text.Encoding with get, set
Public Property Encoding As FileSystemCmdletProviderEncoding
Public Property Encoding As Encoding

Property Value

Attributes

Applies to