[]
Represents a contextual cell reference.
public struct CellReference : IEquatable<CellReference>, IComparable<CellReference>
Public Structure CellReference
Implements IEquatable(Of CellReference), IComparable(Of CellReference)
Name | Description |
---|---|
CellReference(int, int) | Initializes a new instance of the CellReference struct which represents an absolute cell reference. |
CellReference(int, int, CellRelation) | Initializes a new instance of the CellReference struct. |
Name | Description |
---|---|
Empty | Empty CellReference instance. |
Name | Description |
---|---|
Column | Gets the index of the column. |
Relation | Gets the relative of this CellReference with the source. |
Row | Gets the index of the row. |
Name | Description |
---|---|
CompareTo(CellReference) | Compares the current CellReference with another CellReference. |
Equals(CellReference) | Indicates whether the current CellReference is equal to another CellReference of the same type. |
Equals(object) | Determines whether the specified object is equal to this instance. |
GetHashCode() | Returns a hash code for this instance. |
SwitchReferenceType() | Switch the reference type of this CellReference. |
SwitchReferenceType(CellRelation) | Switch the reference type of this CellReference to the specified. |
ToAbsolute(int, int) | Returns the absolute reference of the CellReference object which relates with the context cell
(specified by |
ToRelative(int, int) | Returns the target reference of the CellReference object which relates with the context cell
(specified by |
Name | Description |
---|---|
operator ==(CellReference, CellReference) | Returns whether two CellReference are equals. |
operator !=(CellReference, CellReference) | Returns whether two CellReference are not equals. |