NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataTable.Locale

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);

Property Value

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.

Remarks

A CultureInfo represents the software preferences of a particular culture or community.When used for string comparisons, the CultureInfo affects sorting, comparisons, and filterings.

See Also

DataTable Class | DataTable Members | System.Data Namespace