Gets or sets the caption text for the window represented by the Window object.
Public MustOverride Property Caption As String
Dim instance As Window
Dim value As String
value = instance.Caption
instance.Caption = value
Type: System.StringThe caption text for the window represented by the Window object.
The caption text that is returned or set by this property corresponds to the text preceding "- Microsoft InfoPath" on the title bar of the window
This member can be accessed without restrictions.
This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.