SystemInfo.CurrentTime Property
Gets or sets the current time on the device based on a value in the operating system.
Namespace: Microsoft.SmartDevice.Connectivity
Assembly: Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)
Syntax
'Declaration
Public Property CurrentTime As DateTime
'Usage
Dim instance As SystemInfo
Dim value As DateTime
value = instance.CurrentTime
instance.CurrentTime = value
public DateTime CurrentTime { get; set; }
public:
property DateTime CurrentTime {
DateTime get ();
void set (DateTime value);
}
public function get CurrentTime () : DateTime
public function set CurrentTime (value : DateTime)
Property Value
Type: System.DateTime
The current time on the device.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.