Microsoft XML SDK 2.6 - XML Reference

IXMLDOMSchemaCollection::get Method

Returns a read-only DOM node containing the <Schema> element.

Visual Basic Syntax

Set objXMLDOMNode = objXMLDOMSchemaCol.get(namespaceURI)

C/C++ Syntax

HRESULT get(BSTR namespaceURI, IXMLDOMNode ** pNode);

Parameters

namespaceURI [in]
The namespace URI associated with the schema to return.

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 also 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).

pNode [out]
Read-only IXMLDOMNode that represents the schema that is returned.

Remarks

This will not necessarily be the same document object provided by the add method, because the add method may have copied the schema. For inline schemas, this will apply directly to the <Schema> node embedded within the document.

C/C++ Return Values

S_OK

See Also

IXMLDOMSchemaCollection Interface