XamlObjectWriter::SetLineInfo Method (Int32, Int32)
.NET Framework (current version)
Implements IXamlLineInfoConsumer::SetLineInfo and provides line information for exceptions.
Assembly: System.Xaml (in System.Xaml.dll)
Parameters
- lineNumber
-
Type:
System::Int32
The line number from the reader.
- linePosition
-
Type:
System::Int32
The line position from the reader.
This service method is not intended to be called directly from your code. However, if you are creating a derived class from XamlObjectWriter and expect to report a context where line numbers are unavailable or not useful, this method may be called.
.NET Framework
Available since 4.0
Available since 4.0
Show: