ParserContext.ToXmlParserContext(ParserContext) Method

Definition

Converts an ParserContext to an XmlParserContext.

public:
 static System::Xml::XmlParserContext ^ ToXmlParserContext(System::Windows::Markup::ParserContext ^ parserContext);
public static System.Xml.XmlParserContext ToXmlParserContext (System.Windows.Markup.ParserContext parserContext);
static member ToXmlParserContext : System.Windows.Markup.ParserContext -> System.Xml.XmlParserContext
Public Shared Function ToXmlParserContext (parserContext As ParserContext) As XmlParserContext

Parameters

parserContext
ParserContext

The context to convert to an XmlParserContext.

Returns

The XML parser context.

Exceptions

parserContext is null.

Applies to