編輯

共用方式為


DiagramNodeChildren Interface

Definition

A collection of DiagramNode objects that represents child nodes in a diagram.

public interface class DiagramNodeChildren : Microsoft::Office::Core::_IMsoDispObj, System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000C036F-0000-0000-C000-000000000046")]
public interface DiagramNodeChildren : Microsoft.Office.Core._IMsoDispObj, System.Collections.IEnumerable
Public Interface DiagramNodeChildren
Implements _IMsoDispObj, IEnumerable
Attributes
Implements

Remarks

Use the Children property of the DiagramNode object to return a DiagamNodeChildren collection. To add an individual child diagram node to the collection, use the AddNode(Object, MsoDiagramNodeType) method. To return individual child diagram nodes in the collection, use the FirstChild or LastChild properties, or the Item(Object) method.

Properties

Application

Returns an Application object that represents the Microsoft Excel application.

Count

Returns the number of objects in the collection.

Creator

Returns a 32-bit integer that indicates the application in which this object was created.

FirstChild

Returns a DiagramNode object that represents the first child node of a parent node.

LastChild

Returns a DiagramNode object that represents the last child node of a parent node.

Parent

Returns the parent object for the specified object.

Methods

AddNode(Object, MsoDiagramNodeType)

Creates a diagram node. Returns a DiagramNode object that represents the new node.

GetEnumerator()
Item(Object)

Returns a single object from a collection.

SelectAll()

Selects all the shapes in the specified collection.

Applies to