XmlDictionaryReader.ReadStartElement(XmlDictionaryString, XmlDictionaryString) XmlDictionaryReader.ReadStartElement(XmlDictionaryString, XmlDictionaryString) XmlDictionaryReader.ReadStartElement(XmlDictionaryString, XmlDictionaryString) XmlDictionaryReader.ReadStartElement(XmlDictionaryString, XmlDictionaryString) Method

定义

检查当前节点是否为具有给定 localNamenamespaceUri 的元素,并将读取器推进到下一个节点。Checks whether the current node is an element with the given localName and namespaceUri and advances the reader to the next node.

public:
 virtual void ReadStartElement(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri);
public virtual void ReadStartElement (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri);
override this.ReadStartElement : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> unit
Public Overridable Sub ReadStartElement (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString)

参数

localName
XmlDictionaryString XmlDictionaryString XmlDictionaryString XmlDictionaryString

元素的本地名称。The local name of the element.

namespaceUri
XmlDictionaryString XmlDictionaryString XmlDictionaryString XmlDictionaryString

元素的命名空间 URI。The namespace URI of the element.

适用于