Upravit

Sdílet prostřednictvím


NewFile Interface

Definition

The NewFile object represents items listed on the New Item task pane available in several Microsoft Office applications.

public interface class NewFile : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C0936-0000-0000-C000-000000000046")]
public interface NewFile : Microsoft.Office.Core._IMsoDispObj
[<System.Runtime.InteropServices.Guid("000C0936-0000-0000-C000-000000000046")>]
type NewFile = interface
    interface _IMsoDispObj
Public Interface NewFile
Implements _IMsoDispObj
Attributes
Implements

Remarks

The following table shows the property to use to access the NewFile object in each of the applications.

Microsoft Access NewFileTaskPane
Microsoft Excel NewWorkbook
Microsoft FrontPage NewPageOrWeb
Microsoft PowerPoint NewPresentation
Microsoft Word NewDocument

Use the Add(String, Object, Object, Object) method to add a new item to the New Item task pane. Use the Remove(String, Object, Object, Object) method to remove an item from the New Item task pane.

Properties

Application

Returns an Application object that represents the container application for the object.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Methods

Add(String, Object, Object, Object)

Adds a new item to the New Item task pane.

Remove(String, Object, Object, Object)

Removes an item from the New Item task pane.

Applies to