ICabNode::Add Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:ICabNode::Add Method}}
 
{{#customTitle:ICabNode::Add Method}}
 +
{{#parentPage:PXV:ICabNode#Methods|Add|method}}
 +
{{ToWrite}}
 +
{{ToReview}}
  
Adds a subnode to the array node.  
+
Adds a subnode to the array node.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Add([in, defaultvalue(dt_Invalid)] CabDataTypeID Type, [out, retval] ICabNode** ppNode);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Add([in, defaultvalue(dt_Invalid)] CabDataTypeID nType,
 +
            [out, retval]                   ICabNode**     pNode);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''Type''
+
;nType
 
:[in, defaultvalue(dt_Invalid)]  Value of [[PXV:CabDataTypeID|CabDataTypeID]]. New subnode type. Optional for templatized arrays. If this parameter is omitted (or has default value of dt_Undefined), actual subnode type will be obtained from the template.
 
:[in, defaultvalue(dt_Invalid)]  Value of [[PXV:CabDataTypeID|CabDataTypeID]]. New subnode type. Optional for templatized arrays. If this parameter is omitted (or has default value of dt_Undefined), actual subnode type will be obtained from the template.
;''ppNode''
+
;pNode
 
:[out, retval]  The address of pointer variable that receives the pointer to the added subnode.
 
:[out, retval]  The address of pointer variable that receives the pointer to the added subnode.
  
Line 17: Line 22:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:ICabNode|ICabNode]].
+
[[PXV:ICabNode|ICabNode]]

Latest revision as of 03:12, 15 June 2015


Adds a subnode to the array node.

Syntax

HRESULT Add([in, defaultvalue(dt_Invalid)]  CabDataTypeID  nType,
            [out, retval]                   ICabNode**     pNode);

Parameters

nType
[in, defaultvalue(dt_Invalid)] Value of CabDataTypeID. New subnode type. Optional for templatized arrays. If this parameter is omitted (or has default value of dt_Undefined), actual subnode type will be obtained from the template.
pNode
[out, retval] The address of pointer variable that receives the pointer to the added subnode.

Return Value

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

See Also

ICabNode