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_LocalNameXmlReader::get_NamespaceURI の値が指定された文字列と一致するかをテストします。

virtual bool System::Xml::XmlReader::IsStartElement(String localname, String ns)
パラメーター説明
ローカル名String見つかった要素の 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)
パラメーター説明
nameString見つかった要素の 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.

参照