Share via


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

See Also

Reference

NamedRange Interface

Microsoft.Office.Tools.Excel Namespace