ParserContext.ToXmlParserContext(ParserContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.