System::Xml::XmlReader::IsStartElement μέθοδος

XmlReader::IsStartElement() method

Καλεί το XmlReader::MoveToContent και ελέγχει αν ο τρέχων κόμβος περιεχομένου είναι ετικέτα έναρξης ή κενό στοιχείο.

virtual bool System::Xml::XmlReader::IsStartElement()

ReturnValue

true if XmlReader::MoveToContent finds a start tag or empty element tag; false if a node type other than XmlNodeType::Element was found.

Δείτε επίσης

XmlReader::IsStartElement(String, String) method

Καλεί το XmlReader::MoveToContent και ελέγχει αν ο τρέχων κόμβος περιεχομένου είναι ετικέτα έναρξης ή κενό στοιχείο και αν οι τιμές XmlReader::get_LocalName και XmlReader::get_NamespaceURI του εντοπισμένου στοιχείου ταιριάζουν με τις δοσμένες συμβολοσειρές.

virtual bool System::Xml::XmlReader::IsStartElement(String localname, String ns)
ParameterTypeΠεριγραφή
localnameStringΗ συμβολοσειρά για σύγκριση με την τιμή LocalName του εντοπισμένου στοιχείου.
nsStringΗ συμβολοσειρά για σύγκριση με την τιμή NamespaceURI του εντοπισμένου στοιχείου.

ReturnValue

true if the resulting node is an element. false if a node type other than XmlNodeType::Element was found or if the LocalName and NamespaceURI values of the element do not match the specified strings.

Δείτε επίσης

XmlReader::IsStartElement(String) method

Καλεί το XmlReader::MoveToContent και ελέγχει αν ο τρέχων κόμβος περιεχομένου είναι ετικέτα έναρξης ή κενό στοιχείο και αν η τιμή XmlReader::get_Name του εντοπισμένου στοιχείου ταιριάζει με το δοσμένο όρισμα.

virtual bool System::Xml::XmlReader::IsStartElement(String name)
ParameterTypeΠεριγραφή
όνομαStringΗ συμβολοσειρά που ταιριάζει με την τιμή Name του εντοπισμένου στοιχείου.

ReturnValue

true if the resulting node is an element and the Name value matches the specified string. false if a node type other than XmlNodeType::Element was found or if the element Name value does not match the specified string.

Δείτε επίσης