Metodo System::Xml::XmlReader::IsStartElement

XmlReader::IsStartElement() method

Chiama XmlReader::MoveToContent e verifica se il nodo di contenuto corrente è un tag di inizio o un tag di elemento vuoto.

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.

Vedi anche

XmlReader::IsStartElement(String, String) method

Chiama XmlReader::MoveToContent e verifica se il nodo di contenuto corrente è un tag di inizio o un tag di elemento vuoto e se i valori XmlReader::get_LocalName e XmlReader::get_NamespaceURI dell’elemento trovato corrispondono alle stringhe fornite.

virtual bool System::Xml::XmlReader::IsStartElement(String localname, String ns)
ParametroTipoDescrizione
localnameStringaLa stringa da confrontare con il valore LocalName dell’elemento trovato.
nsStringaLa stringa da confrontare con il valore NamespaceURI dell’elemento trovato.

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.

Vedi anche

XmlReader::IsStartElement(String) method

Chiama XmlReader::MoveToContent e verifica se il nodo di contenuto corrente è un tag di inizio o un tag di elemento vuoto e se il valore XmlReader::get_Name dell’elemento trovato corrisponde all’argomento fornito.

virtual bool System::Xml::XmlReader::IsStartElement(String name)
ParametroTipoDescrizione
nomeStringaLa stringa corrisponde al valore Name dell’elemento trovato.

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.

Vedi anche