Udostępnij za pośrednictwem


RemoteBindableComponent.DefaultDataSourceUpdateMode Property (2007 System)

Gets or sets the default DataSourceUpdateMode for the component.

Namespace:  Microsoft.VisualStudio.Tools.Office
Assembly:  Microsoft.Office.Tools.v9.0 (in Microsoft.Office.Tools.v9.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property DefaultDataSourceUpdateMode As DataSourceUpdateMode
'Usage
Dim instance As RemoteBindableComponent 
Dim value As DataSourceUpdateMode 

value = instance.DefaultDataSourceUpdateMode

instance.DefaultDataSourceUpdateMode = value
[BrowsableAttribute(false)]
public DataSourceUpdateMode DefaultDataSourceUpdateMode { get; set; }
[BrowsableAttribute(false)]
public:
property DataSourceUpdateMode DefaultDataSourceUpdateMode {
    DataSourceUpdateMode get ();
    void set (DataSourceUpdateMode value);
}
public function get DefaultDataSourceUpdateMode () : DataSourceUpdateMode 
public function set DefaultDataSourceUpdateMode (value : DataSourceUpdateMode)

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

RemoteBindableComponent Class

RemoteBindableComponent Members

Microsoft.VisualStudio.Tools.Office Namespace