BindResult<T> Interface
A result that occurs during XML deserialization, providing the deserialized value along with its location in the XML document.
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.
T Value { get; }
Property Value
Line
Gets the line number where this result occurs in the XML document. The value is 1-based.
int Line { get; }
Property Value
Column
Gets the column number where this result occurs in the XML document. The value is 1-based.
int Column { get; }