Condividi tramite


GetDateCommand.Date Property

Definition

Allows user to override the date/time object that will be processed.

public:
 property DateTime Date { DateTime get(); void set(DateTime value); };
public DateTime Date { get; set; }
[System.Management.Automation.Alias(new System.String[] { "LastWriteTime" })]
[System.Management.Automation.Parameter(Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)]
public DateTime Date { get; set; }
[System.Management.Automation.Alias(new System.String[] { "LastWriteTime" })]
[System.Management.Automation.Parameter(ParameterSetName="DateAndFormat", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="DateAndUFormat", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)]
public DateTime Date { get; set; }
member this.Date : DateTime with get, set
[<System.Management.Automation.Alias(new System.String[] { "LastWriteTime" })>]
[<System.Management.Automation.Parameter(Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)>]
member this.Date : DateTime with get, set
[<System.Management.Automation.Alias(new System.String[] { "LastWriteTime" })>]
[<System.Management.Automation.Parameter(ParameterSetName="DateAndFormat", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="DateAndUFormat", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)>]
member this.Date : DateTime with get, set
Public Property Date As DateTime

Property Value

Attributes

Applies to