Udostępnij za pośrednictwem


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
'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);
}
/** @property */
public BitArray get_RowStates ()

/** @property */
public void set_RowStates (BitArray value)
public function get RowStates () : BitArray

public function set RowStates (value : BitArray)

Property Value

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

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
DataTableSurrogate Members
Microsoft.Synchronization.Data Namespace