asp.net.ph

CultureInfo.UseUserOverride Property

System.Globalization Namespace   CultureInfo Class


Gets a value indicating whether the current CultureInfo uses the user-selected culture settings.

[ VB ]
public ReadOnly Property UseUserOverride As Boolean

[ C# ]
public bool UseUserOverride {get;}

[ C++ ]
public: __property bool get_UseUserOverride ( );

[ JScript ]
function get UseUserOverride ( ) : Boolean;

Property Value

true if the current CultureInfo uses the user-selected culture settings; otherwise, false.

Remarks

The user might choose to override some of the values associated with the current culture of Windows through Regional and Language Options ( or Regional Options or Regional Settings ) in Control Panel. For example, the user might choose to display the date in a different format. This property denotes whether the current CultureInfo uses those overrides ( true ) or whether it uses the default values ( false ) of the culture settings.

If the UseUserOverride property is set to true, the properties of the DateTimeFormat instance, the NumberFormat instance, and the TextInfo instance are also retrieved from the user settings. If the user settings are incompatible with the culture associated with the CultureInfo ( for example, if the selected calendar is not one of the OptionalCalendars ), the results of the methods and the values of the properties are undefined.

This property is set when the CultureInfo object is created.

See Also

CultureInfo Members 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