DeleteObject
DeleteObject[obj]
删除对象 obj.
DeleteObject[{obj1,obj2,…}]
删除所有 obji.
更多信息
- 如果成功删除所有给定对象,DeleteObject 返回 Null,否则返回 $Failed.
- DeleteObject 适用于 CloudObject、LocalObject、PersistentObject、PersistenceLocation、ResourceObject、Databin、ChannelObject、ExternalSessionObject、SocketListener、PermissionsGroup 和 PermissionsKey.
- DeleteObject 删除文件和目录,无需确认.
范例
打开所有单元关闭所有单元范围 (12)
属性和关系 (3)
Wolfram Research (2017),DeleteObject,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DeleteObject.html.
文本
Wolfram Research (2017),DeleteObject,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DeleteObject.html.
CMS
Wolfram 语言. 2017. "DeleteObject." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/DeleteObject.html.
APA
Wolfram 语言. (2017). DeleteObject. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/DeleteObject.html 年