ICabNode::Clear Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:ICabNode::Clear Method}} | {{#customTitle:ICabNode::Clear Method}} | ||
+ | {{#parentPage:PXV:ICabNode#Methods|Clear|method}} | ||
+ | {{ToWrite}} | ||
+ | {{ToReview}} | ||
− | The | + | Clears or resets the node content. The actual meaning of this operation depends on the type of the node: |
+ | |||
+ | {| class="wikitable" | ||
+ | ! 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 == | == Syntax == | ||
Line 11: | Line 33: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:ICabNode|ICabNode]] |
Latest revision as of 07:51, 23 May 2015
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.