NewFile.Remove(String, Object, Object, Object) 方法

定义

从“新建项目”任务窗格中删除一个项目。

public bool Remove (string FileName, object Section, object DisplayName, object Action);
abstract member Remove : string * obj * obj * obj -> bool
Public Function Remove (FileName As String, Optional Section As Object, Optional DisplayName As Object, Optional Action As Object) As Boolean

参数

FileName
String

必需的 字符串 。 文件引用的名称。

Section
Object

可选 对象。 任务窗格中文件引用所在的部分。 可以是任何 MsoFileNewSection 常量。

DisplayName
Object

可选 对象。 文件引用的显示文本。

Action
Object

可选 对象。 用户单击项时执行的操作。 可以是任何 MsoFileNewAction 常量。

返回

适用于