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
- Index
Type: System.Object
- NodeType
Type: Microsoft.Office.Core.MsoDiagramNodeType
Return Value
Type: Microsoft.Office.Core.DiagramNode