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!

DataSet.CaseSensitive

Gets or sets a value indicating whether string comparisons within DataTable objects are case-sensitive.

[Visual Basic]
Public Property CaseSensitive As Boolean
[C#]
public bool CaseSensitive {get; set;}
[C++]
public: __property bool get_CaseSensitive();
public: __property void set_CaseSensitive(bool);
[JScript]
public function get CaseSensitive() : Boolean;
public function set CaseSensitive(Boolean);

Property Value

true if string comparisons are case-sensitive; otherwise, false. The default is false.

Remarks

The CaseSensitive property affects the following operations of each DataTable contained in a DataSet: sorting, searching, and filtering.

By default, setting the CaseSensitive for a DataSet also sets each of its constituent DataTable objects' CaseSensitive properties to the same value.

Example [Visual Basic]

The following example toggles the CaseSensitive property.

[Visual Basic]

DataSet1.CaseSensitive = DataSet1.CaseSensitve Xor True

See Also

DataSet Class | DataSet Members | System.Data Namespace | CaseSensitive