TableOfFigures.Caption Property

Returns or sets the label that identifies the items to be included in a table of figures.

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

Syntax

'Declaration
Property Caption As String
    Get
    Set
'Usage
Dim instance As TableOfFigures
Dim value As String

value = instance.Caption

instance.Caption = value
string Caption { get; set; }

Property Value

Type: System.String

Remarks

The Caption property corresponds to the \c switch for a TOC field.

To change the caption of the application window to the default text, set this property to an empty string ("").

See Also

Reference

TableOfFigures Interface

TableOfFigures Members

Microsoft.Office.Interop.Word Namespace