Click or drag to resize
Ranorex

ColumnCollection Class

Represents a collection of Column instances.
Inheritance Hierarchy
SystemObject
  Ranorex.Core.DataColumnCollection

Namespace:  Ranorex.Core.Data
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public sealed class ColumnCollection : IList<Column>, 
	ICollection<Column>, IEnumerable<Column>, IEnumerable

The ColumnCollection type exposes the following members.

Constructors
  NameDescription
Public methodColumnCollection
Initializes a new instance.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of elements contained in the collection.
Public propertyIsReadOnly
Gets a value indicating whether the collection is read-only.
Public propertyItemInt32
Gets or sets the Column at the specified index.
Public propertyItemString
Gets the Column with the specified ColumnHeader name.
Top
Methods
  NameDescription
Public methodAdd
Adds the specified ColumnHeader to this collection.
Public methodClear
Removes all items from the collection.
Public methodContains(String)
Determines whether this collection contains a Column with the specified columnName.
Public methodContains(Column)
Determines whether the collection contains the specified ColumnHeader.
Public methodCopyTo
Copies the elements of the collection to an Array, starting at a particular Array index.
Public methodCreateCopy
Creates a deep copy of this collection.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf(String)
Determines the index of the ColumnHeader with the specified columnName within this collection.
Public methodIndexOf(Column)
Determines the index of a specific ColumnHeader in the collection.
Public methodInsert
Inserts a column at the specified index.
Public methodMakeReadOnly
Makes this collection read only.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the first occurrence of the specified column.
Public methodRemoveAt
Removes the ColumnHeader at the specified index.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also