NewFile.Remove(String, Object, Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes an item from the New Item task pane.
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
Parameters
- FileName
- String
Required String. The name of the file reference.
- Section
- Object
Optional Object. The section of the task pane where the file reference exists. Can be any MsoFileNewSection constant.
- DisplayName
- Object
Optional Object. The display text of the file reference.
- Action
- Object
Optional Object. The action taken when a user clicks on the item. Can be any MsoFileNewAction constant.