Edit

Share via


Tables Interface

Definition

A collection of Table objects that represent the tables in a selection, range, or document.

public interface class Tables : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0002094D-0000-0000-C000-000000000046")]
public interface Tables : System.Collections.IEnumerable
type Tables = interface
    interface IEnumerable
Public Interface Tables
Implements IEnumerable
Attributes
Implements

Remarks

Use the Tables property to return the Tables collection.

Use the Add(Range, Int32, Int32, Object, Object) method to add a table at the specified range.

Use Tables(index), where index is the index number, to return a single Table object. The index number represents the position of the table in the selection, range, or document.

The Count property for this collection in a document returns the number of items in the main story only. To count items in other stories use the collection with the Range object.

Properties

Application

Returns a Application object that represents the Microsoft Word application.

Count

Returns the number of items in the specified collection.

Creator

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

Item[Int32]

Returns an individual object in a collection.

NestingLevel

Returns the nesting level of the specified tables.

Parent

Returns an object that represents the parent object of the specified object.

Methods

Add(Range, Int32, Int32, Object, Object)

Returns a Table object that represents a new, blank table added to a document.

AddOld(Range, Int32, Int32)

Reserved for internal use.

GetEnumerator()

Applies to