Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - DOM Reference

IXMLDOMSelection Members

[Visual Basic, Script]

The following tables show the properties, methods, and events.

[C/C++]

The following tables show the properties, methods, and events.

This interface inherits from IXMLDOMNodeList.

The methods and properties in this table are an extension to the World Wide Web Consortium (W3C) DOM.

Properties

context Gets the node (subtree) that is applied to the selection.
expr Gets or sets the XML Path Language (XPath) expression string. Read/write.
length Indicates the number of items in a collection. Read-only.

Methods

clone Clones a copy of the current IXMLDOMSelection, with the same position and context.
getProperty Returns a property.
item Allows random access to individual nodes within a collection. This method has no effect on the current position.
matches Checks if the node that is passed is contained in the current collection.
nextNode Returns the next node in the collection.
peekNode Gets the next node that nextNode will return without advancing the line position.
removeAll Removes all the nodes from the collection described by the IXMLDOMSelection.
removeNext Removes the next node.
reset Resets the iterator.

Events

None.

To view reference information for Visual Basic, C/C++, or Script only, click the Language Filter button Language Filter in the upper-left corner of the page.

See Also

IXMLDOMNodeList | IXMLDOMSelection