This documentation is archived and is not being maintained.

SPFormContext Class

Windows SharePoint Services 3

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

System.Object
  Microsoft.SharePoint.SPFormContext

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

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

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

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