Share via


DataTableSurrogate.RowStates Property

Gets or sets an array that represents the state of each row in the table.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public Property RowStates As BitArray
    Get
    Set
'Usage
Dim instance As DataTableSurrogate
Dim value As BitArray

value = instance.RowStates

instance.RowStates = value
public BitArray RowStates { get; set; }
public:
property BitArray^ RowStates {
    BitArray^ get ();
    void set (BitArray^ value);
}
member RowStates : BitArray with get, set
function get RowStates () : BitArray
function set RowStates (value : BitArray)

Property Value

Type: System.Collections.BitArray
A BitArray object that represents whether a row is in one of four states: unchanged, added, modified, or deleted.

Exceptions

Exception Condition
ArgumentNullException

value is a null reference (Nothing in Visual Basic).

Remarks

The row states are represented with 2 bits. Therefore the length of the BitArray object will be twice the size of the number of rows.

See Also

Reference

DataTableSurrogate Class

Microsoft.Synchronization.Data Namespace