Gets or sets the locale information used to compare strings within the table.
[Visual Basic] Public Property Locale As CultureInfo [C#] public CultureInfo Locale {get; set;} [C++] public: __property CultureInfo* get_Locale(); public: __property void set_Locale(CultureInfo*); [JScript] public function get Locale() : CultureInfo; public function set Locale(CultureInfo);
A CultureInfo that contains data about the user's machine locale. The default is the DataSet object's CultureInfo (returned by the Locale property) to which the DataTable belongs; if the table doesn't belong to a DataSet, the default is the current system CultureInfo.
A CultureInfo represents the software preferences of a particular culture or community.When used for string comparisons, the CultureInfo affects sorting, comparisons, and filterings.