Partilhar via


GetDateCommand.Year Property

Definition

Allows the user to override the year.

public:
 property int Year { int get(); void set(int value); };
public:
 property int Year { int get(); void set(int value); };
public int Year { get; set; }
[System.Management.Automation.Parameter]
[System.Management.Automation.ValidateRange(1, 9999)]
public int Year { get; set; }
member this.Year : int with get, set
[<System.Management.Automation.Parameter>]
[<System.Management.Automation.ValidateRange(1, 9999)>]
member this.Year : int with get, set
Public Property Year As Integer

Property Value

Attributes

Applies to