Gets or sets the hour.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Hour As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Time
Dim value As Integer
instance.Hour = value
value = instance.Hour |
C# | |
---|
public int Hour {get; set;} |
C++/CLI | |
---|
public:
property int Hour {
int get();
void set ( int value);
} |
Property Value
The hour.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also