共用方式為


SPContext.FormContext Property

Gets the form context object for the form-specific Microsoft SharePoint Foundation context.

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

Syntax

'Declaration
Public ReadOnly Property FormContext As SPFormContext
    Get
'Usage
Dim instance As SPContext
Dim value As SPFormContext

value = instance.FormContext
public SPFormContext FormContext { get; }

Property Value

Type: Microsoft.SharePoint.SPFormContext
An SPFormContext object that represents the form context.

See Also

Reference

SPContext Class

SPContext Members

Microsoft.SharePoint Namespace