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 the DateTime format string.

Overload List

Returns a String array containing all of the known date and time options formatted for the specified format and culture.

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

Returns a String array containing all of the known date and time options provided by IServiceObjectProvider.

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

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[];

Returns a string array containing all of the known date and time options for the specified Format and current culture.

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

See Also

DateTime Structure | DateTime Members | System Namespace