SmartArtNodeCollection

SmartArtNodeCollection 类

表示 SmartArt 节点的集合。

public sealed class SmartArtNodeCollection : ISmartArtNodeCollection

属性

名称描述
Count { get; }返回集合中节点的计数,只读 Int32。
IsSynchronized { get; }返回一个值,指示对集合的访问是否同步(线程安全)。只读 Boolean。
Item { get; }通过索引返回节点
SyncRoot { get; }返回同步根。只读 Object。

方法

名称描述
AddNode()添加新的 SmartArt 节点或子节点。
AddNodeByPosition(int)在节点集合的选定位置添加新节点
CopyTo(Array, int)将集合中的所有元素复制到指定数组。
GetEnumerator()返回遍历集合的枚举器。
RemoveNode(int)通过索引删除节点或子节点
RemoveNode(ISmartArtNode)删除节点或子节点

另见