Application.Environment 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 a reference to an Environment object that can be used to determine which runtime environment (InfoPath, Web browser, or mobile browser) the form is running in.
public:
abstract property Microsoft::Office::InfoPath::Environment ^ Environment { Microsoft::Office::InfoPath::Environment ^ get(); };
public abstract Microsoft.Office.InfoPath.Environment Environment { get; }
member this.Environment : Microsoft.Office.InfoPath.Environment
Public MustOverride ReadOnly Property Environment As Environment
Property Value
An Environment object that can be used to determine which runtime environment (InfoPath, Web browser, or mobile browser) the form is running in.
Examples
For an example of how to use the Environment property, see the Environment class topic.
Remarks
The Environment object can be used to determine which runtime environment the form is running in.
This member can be accessed without restrictions.
This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.