Environment.IsMobile 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 whether the form template was opened from InfoPath Forms Services in a browser on a mobile device.
public:
abstract property bool IsMobile { bool get(); };
public abstract bool IsMobile { get; }
member this.IsMobile : bool
Public MustOverride ReadOnly Property IsMobile As Boolean
Property Value
true if the form template was opened from InfoPath Forms Services in a browser on a mobile device; otherwise false.
Examples
See the code sample in the Environment class topic.
Remarks
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.