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;
true if the current CultureInfo uses the user-selected culture settings; otherwise, false.
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.
CultureInfo Members