Remove
ICustomXmlPartCollection.Remove 方法
从集合中移除特定对象的首次出现。
public bool Remove(ICustomXmlPart item)
| 参数 | 类型 | 描述 |
|---|---|---|
| item | ICustomXmlPart | 要移除的自定义 xml 部件。 |
返回值
如果 item 成功移除,则为 true;否则,为 false。
异常
| 异常 | 条件 |
|---|---|
| ArgumentNullException | item 为 null。 |
从集合中移除特定对象的首次出现。
public bool Remove(ICustomXmlPart item)
| 参数 | 类型 | 描述 |
|---|---|---|
| item | ICustomXmlPart | 要移除的自定义 xml 部件。 |
如果 item 成功移除,则为 true;否则,为 false。
| 异常 | 条件 |
|---|---|
| ArgumentNullException | item 为 null。 |