Share via


Selection.TopLevelTables Property

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
ReadOnly Property TopLevelTables As Tables
    Get
'Usage
Dim instance As Selection
Dim value As Tables

value = instance.TopLevelTables
Tables TopLevelTables { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Tables

Remarks

The TopLevelTables property 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.

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace