Hour Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the hour component of the date represented by this instance.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public ReadOnly Property Hour As Integer
public int Hour { get; }
public:
property int Hour {
int get ();
}
member Hour : int with get
function get Hour () : int
Property Value
Type: System. . :: . .Int32
The hour component, expressed as a value between 0 and 23.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.