17bee87d d7a7 e45e 905c 69f4e41ae039 - akesseler/Plexdata.Utilities.Templates GitHub Wiki

BaseToken.ToIndex Method

Converts the symbol into an index, if possible, and returns it.

Namespace: Plexdata.Utilities.Formatting.Entities
Assembly: Plexdata.Utilities.Templates (in Plexdata.Utilities.Templates.dll) Version: 1.0.0

Syntax

C#

public abstract int ToIndex()

Return Value

Type: Int32
The zero based index of the corresponding value, or -1 if a conversion was impossible.

Remarks

The conversion may fail, for example, in case of the symbol represents a label.

See Also

Reference

BaseToken Class
Plexdata.Utilities.Formatting.Entities Namespace
BaseToken.Symbol
BaseToken.IsNumbering
BaseToken.IsStringify
BaseToken.IsSpreading
BaseToken.ToLabel()

⚠️ **GitHub.com Fallback** ⚠️