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

Constructors

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

Properties

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

Methods

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

Extension Methods

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

Applies to