Compartilhar via


WinDateTimePicker.DateTimeAsString Property

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

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

Syntax

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

Property Value

Type: String
The selected date and time for this date time picker control as a string.

.NET Framework Security

See Also

Reference

WinDateTimePicker Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace