Class NameInfoWithValue
Name info with value
Inheritance
Object
NameInfoWithValue
Implements
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: OfficeOpenXml.FormulaParsing.Ranges
Assembly: EPPlus.dll
Syntax
public class NameInfoWithValue : INameInfo
Constructors
NameInfoWithValue(String, Object)
Name info with value
Declaration
public NameInfoWithValue(string name, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | |
| Object | value |
Properties
Formula
Formula
Declaration
public string Formula { get; }
Property Value
| Type | Description |
|---|---|
| String |
Id
Id
Declaration
public ulong Id { get; }
Property Value
| Type | Description |
|---|---|
| UInt64 |
IsRelative
IsRelative
Declaration
public bool IsRelative { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Name
Name
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| String |
Value
Value
Declaration
public object Value { get; }
Property Value
| Type | Description |
|---|---|
| Object |
wsIx
wsIx
Declaration
public int wsIx { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Methods
GetRelativeFormula(Int32, Int32)
Get relative formula
Declaration
public string GetRelativeFormula(int row, int col)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | row | |
| Int32 | col |
Returns
| Type | Description |
|---|---|
| String |
GetRelativeRange(IRangeInfo, FormulaCellAddress)
Get relative range
Declaration
public IRangeInfo GetRelativeRange(IRangeInfo ri, FormulaCellAddress currentCell)
Parameters
| Type | Name | Description |
|---|---|---|
| IRangeInfo | ri | |
| FormulaCellAddress | currentCell |
Returns
| Type | Description |
|---|---|
| IRangeInfo |
GetValue(FormulaCellAddress)
GetValue
Declaration
public object GetValue(FormulaCellAddress currentCell)
Parameters
| Type | Name | Description |
|---|---|---|
| FormulaCellAddress | currentCell |
Returns
| Type | Description |
|---|---|
| Object |