asp.net.ph

DateTimeFormatInfo.ReadOnly Method

System.Globalization Namespace   DateTimeFormatInfo Class


Returns a read-only DateTimeFormatInfo wrapper.

[ VB ]
public Shared Function ReadOnly ( _
   ByVal dtfi As DateTimeFormatInfo _
) As DateTimeFormatInfo

[ C# ]
public static DateTimeFormatInfo ReadOnly ( 
   DateTimeFormatInfo dtfi
);

[ C++ ]
public: static DateTimeFormatInfo* ReadOnly ( 
   DateTimeFormatInfo* dtfi
);

[ JScript ]
static function ReadOnly ( 
   dtfi : DateTimeFormatInfo
) : DateTimeFormatInfo;

Parameters

dtfi
The DateTimeFormatInfo to wrap.

Return Value

A read-only DateTimeFormatInfo wrapper around dtfi.

Exceptions


Exception Type Condition
ArgumentNullException dtfi is a null reference ( Nothing in Visual Basic ).

Remarks

This wrapper prevents any modifications to dtfi.

See Also

DateTimeFormatInfo Members   IsReadOnly 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