Returns a String array containing all of the known date and time options provided by IServiceObjectProvider.
[Visual Basic] Overloads Public Function GetDateTimeFormats( _ ByVal isop As IServiceObjectProvider _ ) As String () [C#] public string[] GetDateTimeFormats( IServiceObjectProvider isop ); [C++] public: String* GetDateTimeFormats( IServiceObjectProvider* isop ) []; [JScript] public function GetDateTimeFormats( isop : IServiceObjectProvider ) : String[];
A string array containing all the known date and time options.
The GetDateTimeFormats method returns a string array containing all the known date and time options, using the information provided by IServiceObjectProvider. The strings returned are proper time and culture strings for the current instance of DateTime.
The value of this instance is formatted in every way known by the object obtained from the specified IServiceObjectProvider instance, which can provide a DateTimeFormatInfo object ('F', 'G', 'D', etc.)
(See CurrentCulture for addition culture specific information.)
DateTime Structure | DateTime Members | System Namespace | DateTime.GetDateTimeFormats Overload List | String | DateTimeFormat | CultureInfo