Share via


WinDateTimePicker.DateTime Property

Gets or sets the selected date and time for this date time picker control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable Property DateTime As DateTime
public virtual DateTime DateTime { get; set; }
public:
virtual property DateTime DateTime {
    DateTime get ();
    void set (DateTime value);
}
abstract DateTime : DateTime with get, set 
override DateTime : DateTime with get, set
function get DateTime () : DateTime 
function set DateTime (value : DateTime)

Property Value

Type: DateTime
The selected date and time for this date time picker control.

.NET Framework Security

See Also

Reference

WinDateTimePicker Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace