Window.Caption Property (Microsoft.Office.InfoPath)
Gets or sets the caption text for the window represented by the Window object.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)
Syntax
'Declaration
Public MustOverride Property Caption As String
'Usage
Dim instance As Window
Dim value As String
value = instance.Caption
instance.Caption = value
public abstract string Caption { get; set; }
Property Value
The caption text for the window represented by the Window object.
Remarks
The caption text that is returned or set by this property corresponds to the text preceding "- Microsoft Office InfoPath 2007" 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 Office InfoPath 2007.
See Also
Reference
Window Class
Window Members
Microsoft.Office.InfoPath Namespace