Remove

IShapeCollection.Remove method

从集合中删除特定形状的第一个匹配项。

public void Remove(IShape shape)
范围类型描述
shapeIShape要从集合中删除的形状。

也可以看看