# RtfFieldCodeToken

One lossless token from an RTF field instruction.

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfFieldCodeSyntax.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfFieldCodeSyntax.cs#L35)

**Modifiers**

sealed

One lossless token from an RTF field instruction.

## Inheritance

- object
- RtfFieldCodeToken

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [RtfFieldCodeSyntax.Tokens](/api/rtf/officeimo-rtf-rtffieldcodesyntax/#property-tokens)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public RtfFieldCodeTokenKind Kind { get; }` [#](#property-kind)

[RtfFieldCodeSyntax.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfFieldCodeSyntax.cs#L35)

Gets the token role.

`public string Text { get; }` [#](#property-text)

[RtfFieldCodeSyntax.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfFieldCodeSyntax.cs#L37)

Gets the exact authored token text.

`public string Value { get; }` [#](#property-value)

[RtfFieldCodeSyntax.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfFieldCodeSyntax.cs#L39)

Gets the decoded token value.

`public int Position { get; }` [#](#property-position)

[RtfFieldCodeSyntax.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfFieldCodeSyntax.cs#L41)

Gets the zero-based source position.

`public bool IsQuoted { get; }` [#](#property-isquoted)

[RtfFieldCodeSyntax.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfFieldCodeSyntax.cs#L43)

Gets whether the argument was quoted.

`public bool IsTerminated { get; }` [#](#property-isterminated)

[RtfFieldCodeSyntax.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfFieldCodeSyntax.cs#L45)

Gets whether a quoted argument had a closing quote.

<!-- PowerForge markdown artifact sha256:3D55A0B568F4F21641C2806DE45DDC7DDC332A9008A3A2A76871B71FE402D87B -->
