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!

DateTime.GetDateTimeFormats ()

Returns this instance of DateTime format with the current culture string.

[Visual Basic]
Overloads Public Function GetDateTimeFormats() As String ()
[C#]
public string[] GetDateTimeFormats();
[C++]
public: String* GetDateTimeFormats() [];
[JScript]
public function GetDateTimeFormats() : String[];

Return Value

A string array containing all the known date and time options.

Remarks

The GetDateTimeFormats method returns a string array containing the value of this instance. The strings are propertly formatted in date and time string for the current instance of the DateTimeFormatInfo object associated with the CultureInfo. (See CurrentCulture for addition information.)

See Also

DateTime Structure | DateTime Members | System Namespace | DateTime.GetDateTimeFormats Overload List