NamedRange.DefaultDataSourceUpdateMode Property
Gets or sets the default DataSourceUpdateMode.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Property DefaultDataSourceUpdateMode As DataSourceUpdateMode
DataSourceUpdateMode DefaultDataSourceUpdateMode { get; set; }
Property Value
Type: System.Windows.Forms.DataSourceUpdateMode
One of the DataSourceUpdateMode values. The default is Never.
Remarks
This property is used in cases where a Binding without a DataSourceUpdateMode value specified is added to the DataBindings collection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.