ICabNode::Clear Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
Line 2: Line 2:
 
{{#customTitle:ICabNode::Clear Method}}
 
{{#customTitle:ICabNode::Clear Method}}
  
The method of interface of PDF-XChange Editor SDK.
+
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 ==

Revision as of 10:29, 20 April 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.

See Also

See also ICabNode.