DataViewSettingCollection.Item[] Property

Definition

Gets the DataViewSetting of the specified DataTable from the collection.

Overloads

Item[DataTable]

Gets the DataViewSetting objects of the specified DataTable from the collection.

Item[Int32]

Gets the DataViewSetting objects of the DataTable specified by its index.

Item[String]

Gets the DataViewSetting of the DataTable specified by its name.

Item[DataTable]

Source:
DataViewSettingCollection.cs
Source:
DataViewSettingCollection.cs
Source:
DataViewSettingCollection.cs

Gets the DataViewSetting objects of the specified DataTable from the collection.

C#
public virtual System.Data.DataViewSetting this[System.Data.DataTable table] { get; set; }

Parameters

table
DataTable

The DataTable to find.

Property Value

A collection of DataViewSetting objects.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

Item[Int32]

Source:
DataViewSettingCollection.cs
Source:
DataViewSettingCollection.cs
Source:
DataViewSettingCollection.cs

Gets the DataViewSetting objects of the DataTable specified by its index.

C#
public virtual System.Data.DataViewSetting? this[int index] { get; set; }
C#
public virtual System.Data.DataViewSetting this[int index] { get; set; }

Parameters

index
Int32

The zero-based index of the DataTable to find.

Property Value

A collection of DataViewSetting objects.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

Item[String]

Source:
DataViewSettingCollection.cs
Source:
DataViewSettingCollection.cs
Source:
DataViewSettingCollection.cs

Gets the DataViewSetting of the DataTable specified by its name.

C#
public virtual System.Data.DataViewSetting? this[string tableName] { get; }
C#
public virtual System.Data.DataViewSetting this[string tableName] { get; }

Parameters

tableName
String

The name of the DataTable to find.

Property Value

A collection of DataViewSetting objects.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1