ICabNode::Clear Method

From PDF XChange PDF SDK
Revision as of 07:51, 23 May 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Clears or resets the node content. The actual meaning of this operation depends on the type of the node:

Node type Templatized Non-templatized
Array Deletes all elements Deletes all elements
Dictionary Resets content to the template Deletes all elements
Other types Resets node value to the template Resets node value according to standard C++ default-initialization semantics

Syntax

HRESULT Clear();

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

ICabNode