共用方式為


SPContext.FormContext Property

Gets the form context object for the form-specific Windows SharePoint Services context.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

Public ReadOnly Property FormContext As SPFormContext
    Get

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