Share via


whatToShow property

Gets which node types are presented through the iterator. Nodes that are not accepted are skipped, but their children are still considered.

 

Syntax

HRESULT value = object.get_whatToShow(unsigned long* p);

Property values

Type: unsigned long

The type of accepted nodes.p is a bitwise OR of the following values:

SHOW_ALL (0xFFFFFFFF)

Show all nodes.

SHOW_ELEMENT (0x00000001)

Show Element nodes.

SHOW_ATTRIBUTE (0x00000002)

Show Attribute nodes.

SHOW_TEXT (0x00000004)

Show Text nodes.

SHOW_CDATA_SECTION (0x00000008)

Show CDATASection nodes.

SHOW_ENTITY_REFERENCE (0x00000010)

Show EntityReference nodes.

SHOW_ENTITY (0x00000020)

Show Entity nodes.

SHOW_PROCESSING_INSTRUCTION (0x00000040)

Show ProcessingInstruction nodes.

SHOW_COMMENT (0x00000080)

Show Comment nodes.

SHOW_DOCUMENT (0x00000100)

Show Document nodes.

SHOW_DOCUMENT_TYPE (0x00000200)

Show DocumentType nodes.

SHOW_DOCUMENT_FRAGMENT (0x00000400)

Show DocumentFragment nodes.

SHOW_NOTATION (0x00000800)

Show Notation nodes.

Standards information

Remarks

Filtering is based both on the IDOMNodeIterator::whatToShow flags and the IDOMNodeIterator::filter function.