共用方式為


SPMobileContext.IsForm Property

Gets a value that indicates whether the current page is one of the three basic types of forms: Display, New, or Edit.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overridable ReadOnly Property IsForm As Boolean
    Get
'Usage
Dim instance As SPMobileContext
Dim value As Boolean

value = instance.IsForm
public virtual bool IsForm { get; }

Property Value

Type: System.Boolean
true if the current page is a form; otherwise, false.

See Also

Reference

SPMobileContext Class

SPMobileContext Members

Microsoft.SharePoint Namespace