SPField SPField 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
Public Class SPField
Inheritance
SPFieldSPFieldSPField
Derived
Attributes
Microsoft.SharePoint.Client.ClientCallableTypeAttribute Microsoft.SharePoint.Client.SubsetCallableTypeAttribute

Constructors

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

Properties

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

Methods

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

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to