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
- 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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace