Class Column
Represents a column in a data table.
public sealed class Column
- Inheritance
-
Column
- Inherited Members
Constructors
Column(string)
Initializes a new instance.
public Column(string name)
Parameters
Remarks
This constructor overload sets Ranorex.Core.Data.Column.Owner to null.
Column(string, ColumnCollection)
Initializes a new instance.
public Column(string name, ColumnCollection owner)
Parameters
namestringThe Name of the column.
ownerColumnCollectionThe ColumnCollection this column belongs to or
nullif the column is not yet bound to a collection.
Properties
Index
Gets the index of the column inside its Ranorex.Core.Data.Column.Owner ColumnCollection.
public int Index { get; }
Property Value
- int
The index of the column or
-1of the Ranorex.Core.Data.Column.Owner column collection is not set.
Name
Gets the name of this column.
public string Name { get; }
Property Value
- string
The name of the column.
Exceptions
- ArgumentException
If the specified value is
nullor empty.