SPField Class

Definition

public ref class SPField
[Microsoft.SharePoint.Client.ClientCallableType(DeleteMethodClientName="DeleteObject", EntityKeyPropertyNames="Id", FactoryType=typeof(Microsoft.SharePoint.SPObjectFactory), Name="Field", ObjectIdentityPropertyName="CanonicalId", ObjectUrlPathPropertyName="Microsoft.SharePoint.SPObjectUrlPath.GetUrlPath", PatchUpdateMethodClientName="Update", PublicServerStub=true, PutUpdateMethodClientName="Update", SampleUrl="{apiroot}/web/lists({listid})/fields({fieldid})", ServerTypeId="{C4121B04-0F57-4b1d-A145-D25426B16480}")]
[Microsoft.SharePoint.Client.SubsetCallableType(ForcePolymorphicForReturnTypes=true)]
public class SPField
type SPField = class
Public Class SPField
Inheritance
SPField
Derived
Attributes

Constructors

SPField(SPFieldCollection, String)
SPField(SPFieldCollection, String, String)

Properties

AggregationFunction
AllowDeletion
AuthoringInfo
CalloutMenu
CalloutMenuAllowed
CanBeDeleted
CanBeDisplayedInEditForm
CanToggleHidden
CompositeIndexable
DefaultFormula
DefaultListField
DefaultValue
DefaultValueTyped
Description
DescriptionResource
Direction
DisplaySize
EnforceUniqueValues
EntityPropertyName
FieldReferences
FieldRenderingControl
FieldRenderingMobileControl
FieldRenderingMobileWebControl
FieldTypeDefinition
FieldValueType
Filterable
FilterableNoRecurrence
FromBaseType
Group
Hidden
Id
IMEMode
Indexable
Indexed
InternalName
JSLink
JumpToField
LinkToItem
LinkToItemAllowed
ListItemMenu
ListItemMenuAllowed
NoCrawl
ParentList
PIAttribute
PITarget
PreviewValueTyped
PrimaryPIAttribute
PrimaryPITarget
PushChangesToLists
ReadOnlyField
RelatedField
Reorderable
Required
SchemaXml
SchemaXmlWithResourceTokens
Scope
Sealed
ShowInDisplayForm
ShowInEditForm
ShowInListSettings
ShowInNewForm
ShowInVersionHistory
ShowInViewForms
Sortable
SourceId
StaticName
Title
TitleResource
TranslationXml
Type
TypeAsString
TypeDisplayName
TypeShortDescription
UsedInWebContentTypes
ValidationEcmaScript
ValidationFormula
ValidationMessage
Version
XPath

Methods

AnnotateField(XmlNode)
Delete()
GetCustomProperty(String)
GetFieldValue(String)
GetFieldValueAsHtml(Object)
GetFieldValueAsText(Object)
GetFieldValueForClientRender(SPItem, SPControlMode)
GetFieldValueForEdit(Object)
GetJsonClientFormFieldSchema(SPControlMode)
GetProperty(String)
GetValidatedString(Object)
HasValue(Object)
ListsFieldUsedIn()
OnAdded(SPAddFieldOptions)
OnAddingToContentType(SPContentType)
OnDeleting()
OnDeletingFromContentType(SPContentType)
OnInitFieldNode()
OnUpdated()
ParseAndSetValue(SPListItem, String)
ParseValue(SPListItem, String)
RenderFieldValueAsJson(Object)
RevertCustomizations()
SetCustomProperty(String, Object)
ToString()
Update()
Update(Boolean)
ValidateAndParseValue(SPListItem, String)
ValidateParseAndSetValue(SPListItem, String)

Applies to