Class ArrayToken
An array object is a one-dimensional collection of objects arranged sequentially. PDF arrays may be heterogeneous; that is, an array's elements may be any combination of numbers, strings, dictionaries, or any other objects, including other arrays.
public class ArrayToken : IDataToken<IReadOnlyList<IToken>>, IToken, IEquatable<IToken>
- Inheritance
-
ArrayToken
- Implements
- Inherited Members
Constructors
ArrayToken(IReadOnlyList<IToken>)
Create a new ArrayToken.
public ArrayToken(IReadOnlyList<IToken> data)
Parameters
data
IReadOnlyList<IToken>The tokens contained by this array.
Properties
Data
The tokens contained in this array.
public IReadOnlyList<IToken> Data { get; }
Property Value
this[int]
Indexer into Data for convenience.
public IToken this[int i] { get; }
Parameters
i
int
Property Value
Length
The number of tokens in this array.
public int Length { get; }
Property Value
Methods
Equals(IToken)
public bool Equals(IToken obj)
Parameters
obj
IToken
Returns
ToString()
public override string ToString()