ICabNode::Clear Method
From PDF XChange PDF SDK
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.