New to Telerik UI for WinForms? Start a free 30-day trial

Represents errors that occur import of RTF content, caused by an element at an unexpected location.

Definition

Constructors

Initializes a new instance of the RtfUnexpectedElementException class.

C#
public RtfUnexpectedElementException(string expected, string actual, string message)
Parameters:expectedstring

The expected element.

actualstring

The actual element.

messagestring

The message.

Initializes a new instance of the RtfUnexpectedElementException class.

C#
public RtfUnexpectedElementException(string expected, string actual)
Parameters:expectedstring

The expected element.

actualstring

The actual element.

Properties

Gets the actual element.

C#
public string Actual { get; }
Property Value:

The actual.

Gets the element that has been expected.

C#
public string Expected { get; }
Property Value:

The expected.