Class MissingArgumentPtg
A missing argument in a function argument list that is stored as a tMissArg token. This token does not contain any additional data.
Implements
System.ICloneable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.XlsIO.Parser.Biff_Records.Formula
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
[Token(FormulaToken.tMissingArgument)]
public class MissingArgumentPtg : Ptg, ICloneable
Constructors
MissingArgumentPtg()
Default constructor
Declaration
public MissingArgumentPtg()
MissingArgumentPtg(DataProvider, Int32, ExcelVersion)
Constructs token using data from byte array.
Declaration
public MissingArgumentPtg(DataProvider provider, int offset, ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
DataProvider | provider | Object that provides access to the data. |
System.Int32 | offset | Offset to token data. |
ExcelVersion | version | Excel version that was used to infill data provider. |
MissingArgumentPtg(String)
Almost the same as default constructor.
Declaration
public MissingArgumentPtg(string strFormula)
Parameters
Type | Name | Description |
---|---|---|
System.String | strFormula | Must be equal to string.Empty. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | When specified string is not empty. |
Methods
GetSize(ExcelVersion)
Read-only. Size of the token.
Declaration
public override int GetSize(ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
ExcelVersion | version |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
ToString(FormulaUtil, Int32, Int32, Boolean, NumberFormatInfo, Boolean)
Converts token to a string.
Declaration
public override string ToString(FormulaUtil formulaUtil, int iRow, int iColumn, bool bR1C1, NumberFormatInfo numberFormat, bool isForSerialization)
Parameters
Type | Name | Description |
---|---|---|
FormulaUtil | formulaUtil | Formula util. |
System.Int32 | iRow | Zero-based row index of the cell that contains this token. |
System.Int32 | iColumn | Zero-based row index of the cell that contains this token. |
System.Boolean | bR1C1 | Indicates whether R1C1 notation should be used. |
System.Globalization.NumberFormatInfo | numberFormat | |
System.Boolean | isForSerialization |
Returns
Type | Description |
---|---|
System.String | String representation of this token. |
Overrides
Implements
System.ICloneable