_Application.Caption Property

Returns or sets the caption text for the specified document or application window.

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 _Application
Dim value As String

value = instance.Caption

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

Property Value

Type: System.String

Remarks

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

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Word Namespace