Share via


Field Members

Include Protected Members
Include Inherited Members

Represents a field in a list on a Microsoft SharePoint Foundation Web site.

The Field type exposes the following members.

Constructors

  Name Description
Public method Field

Top

Properties

  Name Description
Public property CanBeDeleted Gets a value that specifies whether the field can be deleted.
Public property Context Returns the context that is associated with the client object. (Inherited from ClientObject.)
Public property DefaultValue Gets or sets a value that specifies the default value for the field.
Public property Description Gets or sets a value that specifies the description of the field.
Public property Direction Gets or sets a value that specifies the reading order of the field.
Public property EnforceUniqueValues
Public property FieldTypeKind Gets or sets a value that specifies the type of the field.
Public property Filterable Gets a value that specifies whether list items in the list can be filtered by the field value.
Public property FromBaseType Gets a Boolean value that indicates whether the field derives from a base field type.
Public property Group Gets or sets a value that specifies the field group.
Public property Hidden Gets or sets a value that specifies whether the field is hidden in list views and list forms.
Public property Id Gets a value that specifies the field identifier.
Public property InternalName Gets a value that specifies the field internal name.
Protected property ObjectData Gets the object data for the current client object. (Inherited from ClientObject.)
Public property ObjectVersion Gets a string that indicates the version of the current client object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public property Path Tracks how a client object is created in the ClientRuntimeContext class, so that the object can be re-created on the server. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public property ReadOnlyField Gets or sets a value that specifies whether the value of the field is read-only.
Public property Required Gets or sets a value that specifies whether the field requires a value.
Public property SchemaXml Gets or sets a value that specifies the XML schema that defines the field.
Public property Scope Gets a value that specifies the server-relative URL of the list or the site that the field belongs to.
Public property Sealed Gets a value that specifies whether properties on the field cannot be changed and whether the field cannot be deleted.
Public property ServerObjectIsNull Gets the server object and returns null if the server object is null. (Inherited from ClientObject.)
Public property Sortable Gets a value that specifies whether list items in the list can be sorted by the field value.
Public property StaticName Gets or sets a value that specifies a customizable identifier of the field.
Public property Tag Gets or sets data that is associated with the client object. (Inherited from ClientObject.)
Public property Title Gets or sets value that specifies the display name of the field.
Public property TypeAsString Gets or sets a value that specifies the type of the field.
Public property TypeDisplayName Gets a value that specifies the display name for the type of the field.
Public property TypeShortDescription Gets a value that specifies the description for the type of the field.
Public property ValidationFormula Gets or sets a value that specifies the data validation criteria for the value of the field.
Public property ValidationMessage Gets or sets a value that specifies the error message returned when data validation fails for the field.

Top

Methods

  Name Description
Protected method CheckUninitializedProperty Checks to determine whether the specified value type property of a ClientObject has been initialized. (Inherited from ClientObject.)
Public method CustomFromJson Returns a Boolean value that indicates whether custom code was used to populate an object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public method DeleteObject Deletes the field from the list, from the site, or from the content types within the list.
Public method FromJson Indicates whether custom code was used to populate an object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Protected method InitNonPropertyFieldFromJson Initializes a non-property field of the client object based on JSON data from the server. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Protected method InitOnePropertyFromJson (Overrides ClientObject.InitOnePropertyFromJson(String, JsonReader).)
Public method IsObjectPropertyInstantiated Indicates whether the specified property of the client object is instantiated. (Inherited from ClientObject.)
Public method IsPropertyAvailable Returns a Boolean value that indicates whether the specified scalar property has been retrieved or set. (Inherited from ClientObject.)
Protected method LoadExpandoFields When overridden in a derived class, initializes the extended properties associated with the client object. (Inherited from ClientObject.)
Public method RefreshLoad Reloads all scalar properties associated with the client object when overridden in a derived class. (Inherited from ClientObject.)
Protected method RemoveFromParentCollection Removes the current client object from the parent client object collection. (Inherited from ClientObject.)
Public method Retrieve() Retrieves all scalar properties associated with the object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public method Retrieve([]) Retrieves the specified scalar properties associated with the object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public method ToString (Inherited from Object.)
Public method Update Commits changed properties of the field.
Public method UpdateAndPushChanges Commits changed properties of the field and propagates changes to all lists that use the field.

Top

See Also

Reference

Field Class

Microsoft.SharePoint.Client Namespace