Share via


ISdpNodeContainer::SetNode (Compact 2013)

3/26/2014

This method modifies the contents of an existing node. To add a node, use the ISdpNodeContainer::AppendNode method.

Syntax

HRESULT SetNode(
  ULONG nodeIndex,
  NodeData* pData
);

Parameters

  • nodeIndex
    [in] Zero-based index of the node within the container.
  • pData
    [in] Pointer to the NodeData structure containing the contents of the node. If pNode is NULL, the node is removed from the container.

Return Value

Returns S_OK on success; otherwise returns standard HRESULT values as appropriate.

See Also

Reference

ISdpNodeContainer
ISdpNodeContainer::AppendNode
NodeData