ProtectedViewWindow.Caption Property
Gets or sets the caption text that is displayed in the title bar of the document or protected view window.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Default Property Caption As String
Get
Set
'Usage
Dim instance As ProtectedViewWindow
Dim value As String
value = instance
instance = value
string this { get; set; }
Property Value
Type: System.String
The caption text that is displayed in the title bar of the document or protected view window.
Remarks
Read/write string. To change the caption of the protected view window to the default text, set this property to an empty string ("").