remove Method (Windows CE 5.0)
Removes the specified namespace from a collection.
[Script]
Script Syntax
objXMLDOMSchemaCol.remove(namespaceURI);
Script 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).
Script Return Value
None.
[C/C++]
C/C++ Syntax
HRESULT remove(BSTRnamespaceURI);
C/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).
C/++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.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.
General Remarks
This method applies to the following objects and interfaces:
XMLSchemaCache/IXMLDOMSchemaCollection.
Send Feedback on this topic to the authors