編輯

共用方式為


PublishObjects Interface

Definition

A collection of all PublishObject objects in the workbook. Each PublishObject object represents an item in a workbook that has been saved to a Web page and can be refreshed according to values specified by the properties and methods of the object.

public interface class PublishObjects : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00024443-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface PublishObjects : System.Collections.IEnumerable
Public Interface PublishObjects
Implements IEnumerable
Attributes
Implements

Remarks

Use the PublishObjects property to return the PublishObjects collection.

Use PublishObjects(index), where index is the index number of the specified item in the workbook, to return a single PublishObject object.

Properties

_Default[Object]

Reserved for internal use.

Application

Returns an Application object that represents the Microsoft Excel application.

Count

Returns the number of objects in the collection.

Creator

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

Item[Object]

Returns a single object from a collection.

Parent

Returns the parent object for the specified object.

Methods

Add(XlSourceType, String, Object, Object, Object, Object, Object)

Creates an object that represents an item in a document saved to a Web page. Such objects facilitate subsequent updates to the Web page while automated changes are being made to the document in Microsoft Excel. Returns a PublishObject object.

Delete()

Deletes the object.

GetEnumerator()
Publish()

Saves an item or a collection of items in a document to a Web page.

Applies to