Environment Members

Include Protected Members
Include Inherited Members

Provides properties to determine what runtime environment was used to open the form template.

The Environment type exposes the following members.

Constructors

  Name Description
Protected method Environment

Top

Properties

  Name Description
Public property IsBrowser Gets whether the form template was opened from InfoPath Forms Services in a Web browser.
Public property IsMobile Gets whether the form template was opened from InfoPath Forms Services in a browser on a mobile device.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

Environment Class

Microsoft.Office.InfoPath Namespace