SmartArtNodeCollection

SmartArtNodeCollection class

表示 SmartArt 节点的集合。

public class SmartArtNodeCollection : ISmartArtNodeCollection

特性

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

方法

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

也可以看看