Share via


DiagramNodeChildren.AddNode Method

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Function AddNode ( _
    Index As Object, _
    NodeType As MsoDiagramNodeType _
) As DiagramNode
'Usage
Dim instance As DiagramNodeChildren
Dim Index As Object
Dim NodeType As MsoDiagramNodeType
Dim returnValue As DiagramNode

returnValue = instance.AddNode(Index, _
    NodeType)
DiagramNode AddNode(
    Object Index,
    MsoDiagramNodeType NodeType
)

Parameters

Return Value

Type: Microsoft.Office.Core.DiagramNode

See Also

Reference

DiagramNodeChildren Interface

DiagramNodeChildren Members

Microsoft.Office.Core Namespace