Struct RowColumnIndex
Contains row and column indexes.
[Serializable]
public struct RowColumnIndex : IEquatable<RowColumnIndex>
- Implements
Constructors
- RowColumnIndex()
Initializes a new instance of the RowColumnIndex struct.
- RowColumnIndex(int, int)
Initializes a new instance of the RowColumnIndex struct.
Fields
- Default
Gets default value with row and column equal to zero.
Properties
- Column
Gets column index.
- Row
Gets row index.
Methods
- Equals(RowColumnIndex)
Indicates whether the current object is equal to another object of the same type.
- Equals(object?)
Specifies whether this RowColumnIndex contains the same coordinates as the specified object.
- GetHashCode()
Serves as the default hash function.
- Parse(string)
Returns an instance converted from the provided string using InvariantEnglishUS culture.
String with data.
- ToString()
Converts this object to a human readable string.
Operators
- operator ==(RowColumnIndex, RowColumnIndex)
Compares two RowColumnIndex objects. The result specifies whether the values of the Row and Column properties of the two RowColumnIndex objects are equal.
- explicit operator RowColumnIndex(PointI)
Creates a RowColumnIndex with the coordinates of the specified PointI.
- implicit operator RowColumnIndex((int Row, int Column))
Implicit operator convertion from tuple with two int values to RowColumnIndex.
- operator !=(RowColumnIndex, RowColumnIndex)
Compares two RowColumnIndex objects. The result specifies whether the values of the Row or Column properties of the two RowColumnIndex objects are unequal.