asp.net.ph

DateTimeFormatInfo.LongTimePattern Property

System.Globalization Namespace   DateTimeFormatInfo Class


Sets or retrieves the format pattern for a long time value, which is associated with the 'T' format character.

[ VB ]
public Property LongTimePattern As String

[ C# ]
public string LongTimePattern {get; set;}

[ C++ ]
public: __property String* get_LongTimePattern ( );
public: __property void set_LongTimePattern ( String* );

[ JScript ]
function get LongTimePattern ( ) : String;
public function set LongTimePattern ( String );

Property Value

The format pattern for a long time value, which is associated with the 'T' format character.

Exceptions


Exception Type Condition
ArgumentNullException The property is being set to a null reference ( Nothing in Visual Basic ).
InvalidOperationException The property is being set and the DateTimeFormatInfo is read-only.

Remarks

See DateTimeFormatInfo for patterns that can be combined to construct custom patterns; for example, "HH:mm:ss".

Example

The below shows the LongTimePattern used for each of the available cultures.

 Show me 

See Also

DateTimeFormatInfo Members   LongDatePattern Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph