Export (0) Print
Expand All

Application.Environment Property

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.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

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.

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 Office InfoPath 2007 or in a Web browser.

For an example of how to use the Environment property, see the Environment class topic.

Community Additions

Show:
© 2014 Microsoft