다음을 통해 공유


getQualifiedItem Method (Windows Embedded CE 6.0)

1/6/2010

Returns the attribute with the specified namespace and attribute name.

Script Syntax

var objXMLDOMNode = oXMLDOMNamedNodeMap.getQualifiedItem(baseName, namespaceURI);

Remarks

Ee502047.collapse(en-US,WinEmbedded.60).gifScript Parameters

  • baseName
    String specifying the base name of the attribute, without namespace qualification.
  • namespaceURI
    String specifying the namespace prefix that qualifies the attribute name.

Ee502047.collapse(en-US,WinEmbedded.60).gifScript Return Value

Object. Returns the attribute node specified by the baseName and namespaceURI parameters. Returns Null if the attribute is not in the collection or if the item is not an attribute.

Ee502047.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT getQualifiedItem(
  BSTR baseName,
  BSTR namespaceURI,
  IXMLDOMNode **qualifiedItem
);

Remarks

Ee502047.collapse(en-US,WinEmbedded.60).gifC/C++ Parameters

  • baseName
    [in] Base name of the attribute, without namespace qualification.
  • namespaceURI
    [in] Namespace prefix that qualifies the attribute name.
  • qualifiedItem
    [out, retval] Attribute node specified by the baseName and namespaceURI parameters. Returns Null if the attribute is not in the collection or if the item is not an attribute.

Ee502047.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

  • S_OK
    Value returned if successful.
  • S_FALSE
    Value when returning Null.
  • E_INVALIDARG
    Value returned if qualifiedItem is Null.

Ee502047.collapse(en-US,WinEmbedded.60).gifRequirements

Header msxml2.h, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

This member is an extension of the Worldwide Web Consortium (W3C) Document Object Model (DOM).

This method applies to the following interface:

IXMLDOMNamedNodeMap

See Also

Reference

XML DOM Methods