Environment members

Office 2013 and later

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

The Environment type exposes the following members.

  Name Description
Protected method Environment
Top

  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

  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
Show: