Table of Contents

Class Column

Namespace
Ranorex.Core.Data
Assembly
Ranorex.Core.dll

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

name string

The Name of the column.

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

name string

The Name of the column.

owner ColumnCollection

The ColumnCollection this column belongs to or null if 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 -1 of 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 null or empty.