XmlUtil.IsStartElement(XmlReader, String, ICollection<String>) 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.
Determine if reader is at expected element in one of the listed namespace in namespaceList.
public static bool IsStartElement (System.Xml.XmlReader reader, string element, System.Collections.Generic.ICollection<string> namespaceList);
static member IsStartElement : System.Xml.XmlReader * string * System.Collections.Generic.ICollection<string> -> bool
Public Shared Function IsStartElement (reader As XmlReader, element As String, namespaceList As ICollection(Of String)) As Boolean
Parameters
- element
- String
the expected element.
- namespaceList
- ICollection<String>
the expected namespace list.
Returns
if reader
is at expected element.
Exceptions
if element
is null or empty.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for