Share via


SPFormContext Class

Provides information about the context that is specific to a list item form.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPFormContext

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

Syntax

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPFormContext

Dim instance As SPFormContext
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPFormContext

Remarks

Use the FormContext property of the SPContext class to get the context of the current form.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPFormContext Members

Microsoft.SharePoint Namespace