Edit

Share via


Environment.IsMobile Property

Definition

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.

Applies to