Window.Caption Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the caption text for the window represented by the Window object.
public:
abstract property System::String ^ Caption { System::String ^ get(); void set(System::String ^ value); };
public abstract string Caption { get; set; }
member this.Caption : string with get, set
Public MustOverride Property Caption As String
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 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.