[]
Represents a reference in formula.
public sealed class Reference : IEquatable<Reference>, ICloneable
public Reference()
Gets or sets the 0-based column index. The default value is 0.
public int Column { get; set; }
Indicates whether the reference has column. The default value is true.
public bool HasColumn { get; set; }
Gets or sets whether the reference has row. The default value is true.
public bool HasRow { get; set; }
Gets or sets whether the column is relative. The default value is true.
public bool IsColumnRelative { get; set; }
Gets or sets whether the reference contains error. The default value is false.
public bool IsError { get; set; }
Gets or sets whether the last column is relative. The default value is true.
public bool IsLastColumnRelative { get; set; }
Gets or sets whether the last row is absolute. The default value is true.
public bool IsLastRowRelative { get; set; }
Gets or sets whether the reference is range. The default value is false.
public bool IsRange { get; set; }
Gets or sets whether the row is relative. The default value is true.
public bool IsRowRelative { get; set; }
Gets or sets the end column index. The default value is 0.
public int LastColumn { get; set; }
Gets or sets the 0-based end row index. The default value is 0.
public int LastRow { get; set; }
The name of the end worksheet of the 3D reference.
public string LastWorksheetName { get; set; }
Gets or sets the 0-based row index. The default value is 0.
public int Row { get; set; }
Gets or sets the external workbook reference. The default value is null (Nothing).
public WorkbookReference Workbook { get; set; }
The name of the worksheet.
public string WorksheetName { get; set; }
Copy the reference.
public Reference Clone()
A copy of the reference.
Equality comparison.
public bool Equals(Reference other)
other
ReferenceAnother reference.
Equality comparison for late binding.
public override bool Equals(object obj)
obj
objectAnother reference.
This object doesn't support getting hash code, because all fields are mutable.
public override int GetHashCode()
The hash code of the current type.
Converts the reference to A1 string.
public override string ToString()
Converts the reference to string.
public string ToString(UnParseContext context)
context
UnParseContextThe parse options.