API Reference
Class
RtfFieldCodeSyntax
Lossless typed syntax for an RTF field instruction.
Inheritance
- Object
- RtfFieldCodeSyntax
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property RtfField.FieldCode
- Method RtfFieldCodeSyntax.Parse
Methods
public static RtfFieldCodeSyntax Parse(String instruction) #Returns:
RtfFieldCodeSyntaxParses a field instruction without discarding trivia or unknown switches.
Parameters
- instruction System.String
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Text { get; } #Gets the exact authored field instruction.
public String Keyword { get; } #Gets the decoded leading field keyword.
public IReadOnlyList<RtfFieldCodeToken> Tokens { get; } #Gets every token, including whitespace, in authored order.
public Boolean IsValid { get; } #Gets whether every quoted argument is terminated.