RemoveAt

CustomXmlPartCollection.RemoveAt 方法

移除指定索引处的自定义 XML 部件。

public void RemoveAt(int index)
参数类型描述
indexInt32要移除的元素的零基索引。

异常

异常条件
ArgumentOutOfRangeExceptionindex 小于 0 或者 index 大于或等于 Count

参见