DataViewSettingCollection.Item[] 属性

定义

获取集合中指定 DataViewSettingDataTable

重载

Item[DataTable]

获取集合中指定 DataViewSettingDataTable 对象。

Item[Int32]

获取 DataViewSettingDataTable 对象(由其索引指定)。

Item[String]

获取 DataViewSettingDataTable(由其名称指定)。

Item[DataTable]

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

获取集合中指定 DataViewSettingDataTable 对象。

public:
 virtual property System::Data::DataViewSetting ^ default[System::Data::DataTable ^] { System::Data::DataViewSetting ^ get(System::Data::DataTable ^ table); void set(System::Data::DataTable ^ table, System::Data::DataViewSetting ^ value); };
public virtual System.Data.DataViewSetting this[System.Data.DataTable table] { get; set; }
member this.Item(System.Data.DataTable) : System.Data.DataViewSetting with get, set
Default Public Overridable Property Item(table As DataTable) As DataViewSetting

参数

table
DataTable

要查找的 DataTable

属性值

DataViewSetting 对象的集合。

适用于

Item[Int32]

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

获取 DataViewSettingDataTable 对象(由其索引指定)。

public:
 virtual property System::Data::DataViewSetting ^ default[int] { System::Data::DataViewSetting ^ get(int index); void set(int index, System::Data::DataViewSetting ^ value); };
public virtual System.Data.DataViewSetting? this[int index] { get; set; }
public virtual System.Data.DataViewSetting this[int index] { get; set; }
member this.Item(int) : System.Data.DataViewSetting with get, set
Default Public Overridable Property Item(index As Integer) As DataViewSetting

参数

index
Int32

要查找的 DataTable 的从零开始的索引。

属性值

DataViewSetting 对象的集合。

适用于

Item[String]

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

获取 DataViewSettingDataTable(由其名称指定)。

public:
 virtual property System::Data::DataViewSetting ^ default[System::String ^] { System::Data::DataViewSetting ^ get(System::String ^ tableName); };
public virtual System.Data.DataViewSetting? this[string tableName] { get; }
public virtual System.Data.DataViewSetting this[string tableName] { get; }
member this.Item(string) : System.Data.DataViewSetting
Default Public Overridable ReadOnly Property Item(tableName As String) As DataViewSetting

参数

tableName
String

要查找的 DataTable 的名称。

属性值

DataViewSetting 对象的集合。

适用于