Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

LoadOption Enumeration

Controls how the values from the data source will be applied to existing rows when using the Load or Load method.

Namespace:  System.Data
Assembly:  System.Data (in System.Data.dll)

'Declaration
Public Enumeration LoadOption

Member nameDescription
Supported by the XNA FrameworkOverwriteChangesThe incoming values for this row will be written to both the current value and the original value versions of the data for each column.
Supported by the XNA FrameworkPreserveChangesThe incoming values for this row will be written to the original value version of each column. The current version of the data in each column will not be changed. This is the default.
Supported by the XNA FrameworkUpsertThe incoming values for this row will be written to the current version of each column. The original version of each column's data will not be changed.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
Show:
© 2015 Microsoft