GetDateCommand.Year Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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