System::Xml::XmlElement::HasAttribute 메서드

XmlElement::HasAttribute(String, String) method

현재 노드에 지정된 로컬 이름 및 네임스페이스 URI를 가진 속성이 있는지 확인합니다.

virtual bool System::Xml::XmlElement::HasAttribute(String localName, String namespaceURI)
매개변수형식설명
localNameString찾을 속성의 로컬 이름.
namespaceURIString찾을 속성의 네임스페이스 URI.

ReturnValue

true if the current node has the specified attribute; otherwise, false.

또 보기

XmlElement::HasAttribute(String) method

현재 노드에 지정된 이름을 가진 속성이 있는지 확인합니다.

virtual bool System::Xml::XmlElement::HasAttribute(String name)
매개변수형식설명
nameString찾을 속성의 이름. 이는 한정된 이름이며, 일치하는 노드의 get_Name 값과 비교됩니다.

ReturnValue

true if the current node has the specified attribute; otherwise, false.

또 보기