NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

String.ToDateTime

Returns the specified string converted to DateTime format.

[Visual Basic]
Overridable Public Function ToDateTime() As DateTime
[C#]
public virtual DateTime ToDateTime();
[C++]
public: virtual DateTime ToDateTime();
[JScript]
public function ToDateTime() : DateTime;

Return Value

The string formatted as a DateTime type.

Remarks

The ToDateTime implementation is the same as Parse and ToDateTime (In addition information, see DateTime, Convert and Value.)

See Also

String Class | String Members | System Namespace