Remove

ICustomXmlPartCollection.Remove 方法

从集合中移除特定对象的首次出现。

public bool Remove(ICustomXmlPart item)
参数类型描述
itemICustomXmlPart要移除的自定义 xml 部件。

返回值

如果 item 成功移除,则为 true;否则,为 false

异常

异常条件
ArgumentNullExceptionitem 为 null

另见