Gets a value that specifies whether a form is new.
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
The New property behaves differently depending on whether the new form is created in Microsoft InfoPath or in a Web browser.
In a Web browser, the New property is set to true when a new form is created. The property is set to false only when an existing form is opened.
In InfoPath, the New property is set to true when a new form is created. The property is set to false as soon as the form is successfully saved. The property is also set to false when an existing form is opened.
The New property is equivalent to the IsNew property of the XDocument object in the COM/Scripting object model, and to the IsNew property of the _XDocument2 interface of the InfoPath 2003 compatible managed code object model.
This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.
This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.