Range.TopLevelTables Property 

Returns a Tables collection that represents the tables at the outermost nesting level in the current range.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim range1 As Range

Dim returnValue As Tables
returnValue = range1.TopLevelTables

Syntax

ReadOnly Property TopLevelTables() As Tables
Tables TopLevelTables {get;}
property Tables^ TopLevelTables{
    Tables^ get();
}
public Tables get_TopLevelTables();
function get TopLevelTables() : Tables;

Remarks

This method returns a collection containing only those tables at the outermost nesting level within the context of the current range or selection. These tables may not be at the outermost nesting level within the entire set of nested tables.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Range Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Range Members