Microsoft XML SDK 2.6 - XML Reference

IXMLDOMSchemaCollection::remove Method

Removes the specified namespace from a collection.

Visual Basic Syntax

objXMLDOMSchemaCol.remove(namespaceURI)

C/C++ Syntax

HRESULT remove(BSTR namespaceURI);

Parameters

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

This may 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.

See Also

IXMLDOMSchemaCollection Interface