Share via


GetDateCommand.Hour Property

Definition

Allows the user to override the hour.

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

Property Value

Attributes

Applies to