此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
备注
访问此页面需要授权。 可以尝试登录或更改目录。
访问此页面需要授权。 可以尝试更改目录。
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从集内移除指定对象的第一个匹配项。
public: virtual bool Remove(T item);
public bool Remove (T item);
abstract member Remove : 'T -> bool override this.Remove : 'T -> bool
Public Function Remove (item As T) As Boolean
要从集内移除的对象。
如果从集内移除了 item,则为 true;如果在集内找不到 item,则为 false。
item
true
false
.NET
此页面是否有帮助?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?