NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TableSettingsCollection.All

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[]);

Property Value

An array of TableSetting objects.

An array of TableSetting objects.

Exceptions

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.

Remarks

If an exception is thrown, the collection returns to it's original state. The CollectionChanged event occurs if it succeeds.

Example [Visual Basic]

[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

See Also

TableSettingsCollection Class | TableSettingsCollection Members | System.Data Namespace