Environment Members (Microsoft.Office.InfoPath)

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

The following tables list the members exposed by the Environment type.

Protected Constructors

  Name Description
Protected method Environment  

Top

Public Properties

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

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Equals  Overloaded. (inherited from Object)
Public method GetHashCode  (inherited from Object)
Public method GetType  (inherited from Object)
Public method Static ReferenceEquals  (inherited from Object)
Public method ToString  (inherited from Object)

Top

Protected Methods

  Name Description
Protected method Finalize  (inherited from Object)
Protected method MemberwiseClone  (inherited from Object)

Top

See Also

Reference

Environment Class
Microsoft.Office.InfoPath Namespace