BindResult<T> Interface

A result that occurs during XML deserialization, providing the deserialized value along with its location in the XML document.

C#
public interface BindResult<out T>
where T : class

Type Parameters

T
class

The type of the deserialized value. When binding to an XML element, this is typically a class annotated with ForElementAttribute. When binding to an XML attribute or text content, this is typically string.

Properties

Value

Gets the deserialized value.

Line

Gets the line number where this result occurs in the XML document. The value is 1-based.

Column

Gets the column number where this result occurs in the XML document. The value is 1-based.

Properties Detail

Value

Gets the deserialized value.

C#
T Value { get; }

Property Value

T

Line

Gets the line number where this result occurs in the XML document. The value is 1-based.

C#
int Line { get; }

Property Value

int

Column

Gets the column number where this result occurs in the XML document. The value is 1-based.

C#
int Column { get; }

Property Value

int