Class NameInfoWithValue
Name info with value
Inheritance
System.Object
NameInfoWithValue
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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 |
---|---|---|
System.String | name | |
System.Object | value |
Properties
Formula
Formula
Declaration
public string Formula { get; }
Property Value
Type | Description |
---|---|
System.String |
Id
Id
Declaration
public ulong Id { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
IsRelative
IsRelative
Declaration
public bool IsRelative { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
Value
Declaration
public object Value { get; }
Property Value
Type | Description |
---|---|
System.Object |
wsIx
wsIx
Declaration
public int wsIx { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
GetRelativeFormula(Int32, Int32)
Get relative formula
Declaration
public string GetRelativeFormula(int row, int col)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | row | |
System.Int32 | col |
Returns
Type | Description |
---|---|
System.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 |
---|---|
System.Object |