asp.net.ph

NumberFormatInfo.ReadOnly Method

System.Globalization Namespace   NumberFormatInfo Class


Returns a read-only NumberFormatInfo wrapper.

[ VB ]
public Shared Function ReadOnly ( _
   ByVal nfi As NumberFormatInfo _
) As NumberFormatInfo

[ C# ]
public static NumberFormatInfo ReadOnly ( 
   NumberFormatInfo nfi
);

[ C++ ]
public: static NumberFormatInfo* ReadOnly ( 
   NumberFormatInfo* nfi
);

[ JScript ]
static function ReadOnly ( 
   nfi : NumberFormatInfo
) : NumberFormatInfo;

Parameters

nfi
The NumberFormatInfo to wrap.

Return Value

A read-only NumberFormatInfo wrapper around nfi.

Exceptions


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

Remarks

This wrapper prevents any modifications to nfi.

Attempting to perform an assignment to a property of a read-only NumberFormatInfo causes an InvalidOperationException.

See Also

NumberFormatInfo 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