IXamlLineInfoConsumer Interface

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Describes a service where a XAML writer can use reported line information and then include the information in the output.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public interface IXamlLineInfoConsumer


Gets a value that determines whether a line information service should provide values and therefore, should also call SetLineInfo when relevant.

System_CAPS_pubmethodSetLineInfo(Int32, Int32)

Collects line information.

XamlObjectWriter implements IXamlLineInfoConsumer..NET Framework XAML Services and its XAML readers and XAML writers typically make line information available to callers, through debugging support in an IDE and through exceptions.

Exactly how to consume line information is up to each consumer.

.NET Framework
Available since 4.0
Return to top