Gets or sets all of the TableSetting objects of collection.
[Visual Basic] Overridable Public Property All As TableSetting () [C#] public TableSetting[] All {virtual get; virtual set;} [C++] public: __property virtual TableSetting* get_All(); public: __property virtual void set_All(TableSetting*[]); [JScript] public function get All() : TableSetting[]; public function set All(TableSetting[]);
An array of TableSetting objects.
An array of TableSetting objects.
Exception Type | Condition |
---|---|
ArgumentException | A tableSetting that is added shouldn't be added and and/or a tableSetting that is removed shouldn't be removed. |
If an exception is thrown, the collection returns to it's original state. The CollectionChanged event occurs if it succeeds.
[Visual Basic]
' The next two lines go into the Declarations section of the module: Private myDataSetView As DataSetView ' SuppliersProducts is a class derived from DataSet. Private myDataSet As SuppliersProducts Private Sub GetAll() Dim arrTS() As TableSetting ' Presuming myDataSetView has been created. arrTS = myDataSetView.TableSettings.All End Sub
TableSettingsCollection Class | TableSettingsCollection Members | System.Data Namespace