ParserContext.ToXmlParserContext Method (ParserContext)

 

Converts an ParserContext to an XmlParserContext.

Namespace:   System.Windows.Markup
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static XmlParserContext ToXmlParserContext(
	ParserContext parserContext
)

Parameters

parserContext
Type: System.Windows.Markup.ParserContext

The context to convert to an XmlParserContext.

Return Value

Type: System.Xml.XmlParserContext

The XML parser context.

Exception Condition
ArgumentNullException

parserContext is null.

.NET Framework
Available since 3.0
Return to top
Show: