次の方法で共有


remove Method (Windows Embedded CE 6.0)

1/6/2010

Removes the specified namespace from a collection.

Script Syntax

objXMLDOMSchemaCol.remove(namespaceURI);

Remarks

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

  • namespaceURI
    The namespace to remove from the collection. This can be any string that can be used in an xmlns attribute, but it cannot contain entity references. The same white space normalization that occurs on the xmlns attribute occurs on this argument (that is, leading and trailing white space is trimmed, new lines are converted to spaces, and multiple adjacent white space characters are collapsed into one space).

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

None.

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

HRESULT remove(
  BSTR namespaceURI
);

Remarks

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

  • namespaceURI
    [in] The namespace to remove from the collection.

    This can be any string that can be used in an xmlns attribute, but it cannot contain entity references. The same white space normalization that occurs on the xmlns attribute occurs on this argument (that is, leading and trailing white space is trimmed, new lines are converted to spaces, and multiple adjacent white space characters are collapsed into one space).

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

  • E_INVALIDARG
    Value returned if the namespace does not exist in the collection.
  • E_FAIL
    Value returned if the collection is read-only.

Ee502669.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 method applies to the following objects and interfaces:

XMLSchemaCache/IXMLDOMSchemaCollection.

See Also

Reference

XML DOM Methods