[]
Gets a string that contains an absolute reference to this cell in the current reference style.
public override string ToString()
Public Overrides Function ToString() As String
| Type | Description |
|---|---|
| string | a string that contains an absolute reference to this cell in the current reference style. |
Gets a string that contains an absolute reference to this cell in the specified reference style.
public string ToString(ReferenceStyle referenceStyle)
Public Function ToString(referenceStyle As ReferenceStyle) As String
| Type | Name | Description |
|---|---|---|
| ReferenceStyle | referenceStyle | Style of cell reference |
| Type | Description |
|---|---|
| string | a string that contains an absolute reference to this cell in the specified reference style. |
Gets a string that contains a relative reference to this cell in the current reference style.
public string ToString(Cell relativeTo)
Public Function ToString(relativeTo As Cell) As String
| Type | Name | Description |
|---|---|---|
| Cell | relativeTo | Cell to use for computing the relative reference |
| Type | Description |
|---|---|
| string | A string value. |
Gets a string that contains a relative reference to this cell in the specified reference style.
public string ToString(Cell relativeTo, ReferenceStyle referenceStyle)
Public Function ToString(relativeTo As Cell, referenceStyle As ReferenceStyle) As String
| Type | Name | Description |
|---|---|---|
| Cell | relativeTo | Cell to use for computing the relative reference |
| ReferenceStyle | referenceStyle | Style of cell reference |
| Type | Description |
|---|---|
| string | a string that contains a relative reference to this cell in the specified reference style. |
| Type | Condition |
|---|---|
| ArgumentNullException | No cell specified or specified cell (for relative reference) is not valid |