TextElementCollection<TextElementType>.Remove(TextElementType) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从集合中删除指定项。
public:
virtual bool Remove(TextElementType item);
public bool Remove(TextElementType item);
abstract member Remove : 'extElementType -> bool
override this.Remove : 'extElementType -> bool
Public Function Remove (item As TextElementType) As Boolean
参数
- item
- TextElementType
要移除的项会引发集合。
返回
true 如果找到并删除了指定的项,则为 ;否则,为 false.
实现
注解
此方法返回 false if item is null.