Поделиться через


baseName Property (Windows Embedded CE 6.0)

1/6/2010

Returns the base name for the name qualified with the namespace.

Script Syntax

            strValue = oXMLDOMNode.baseName;

Remarks

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

None.

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

String. It returns the right-hand side of a namespace qualified name. For example, it returns yyy for the element <xxx:yyy>. It always returns a non-empty string.

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

HRESULT get_baseName(
  BSTR* nameString
);

Remarks

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

  • nameString
    [out, retval] Right-hand side of a namespace qualified name. For example, it returns yyy for the element <xxx:yyy>. It always returns a non-empty string.

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

  • S_OK
    Value returned if successful.
  • S_FALSE
    Value returned when there is no base name.
  • E_INVALIDARG
    Value returned if nameString is Null.

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

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

General Remarks

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

This property is read-only, and applies to the following objects and interfaces:

IXMLDOMAttribute, IXMLDOMCDATASection, IXMLDOMCharacterData, IXMLDOMComment, DOMDocument, IXMLDOMDocumentFragment, IXMLDOMDocumentType, IXMLDOMElement, IXMLDOMEntity, IXMLDOMEntityReference, IXMLDOMNode, IXMLDOMNotation, IXMLDOMProcessingInstruction, IXMLDOMText, and IXTLRuntime.

See Also

Reference

XML DOM Properties