FieldChoice Members
Include Protected Members
Include Inherited Members
Represents a choice field control.
The FieldChoice type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FieldChoice | Initializes a new instance of the FieldChoice class with the specified client runtime context and the object path of the client. |
Top
Properties
Name | Description | |
---|---|---|
CanBeDeleted | Gets a value that specifies whether the field can be deleted. (Inherited from Field.) | |
Choices | Gets or sets a value that specifies values that are available for selection in the field. (Inherited from FieldMultiChoice.) | |
Context | Returns the context that is associated with the client object. (Inherited from ClientObject.) | |
DefaultValue | Gets or sets a value that specifies the default value for the field. (Inherited from Field.) | |
Description | Gets or sets a value that specifies the description of the field. (Inherited from Field.) | |
Direction | Gets or sets a value that specifies the reading order of the field. (Inherited from Field.) | |
EditFormat | Determines whether to display the choice field as option buttons (also known as “radio buttons”) or as a drop-down list. | |
EnforceUniqueValues | (Inherited from Field.) | |
FieldTypeKind | Gets or sets a value that specifies the type of the field. (Inherited from Field.) | |
FillInChoice | Gets or sets a value that specifies whether the field can accept values other than those specified in Choices. (Inherited from FieldMultiChoice.) | |
Filterable | Gets a value that specifies whether list items in the list can be filtered by the field value. (Inherited from Field.) | |
FromBaseType | Gets a Boolean value that indicates whether the field derives from a base field type. (Inherited from Field.) | |
Group | Gets or sets a value that specifies the field group. (Inherited from Field.) | |
Hidden | Gets or sets a value that specifies whether the field is hidden in list views and list forms. (Inherited from Field.) | |
Id | Gets a value that specifies the field identifier. (Inherited from Field.) | |
InternalName | Gets a value that specifies the field internal name. (Inherited from Field.) | |
Mappings | Gets a value that specifies the internal values corresponding to Choices. (Inherited from FieldMultiChoice.) | |
ObjectData | Gets the object data for the current client object. (Inherited from ClientObject.) | |
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.) | |
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.) | |
ReadOnlyField | Gets or sets a value that specifies whether the value of the field is read-only. (Inherited from Field.) | |
Required | Gets or sets a value that specifies whether the field requires a value. (Inherited from Field.) | |
SchemaXml | Gets or sets a value that specifies the XML schema that defines the field. (Inherited from Field.) | |
Scope | Gets a value that specifies the server-relative URL of the list or the site that the field belongs to. (Inherited from Field.) | |
Sealed | Gets a value that specifies whether properties on the field cannot be changed and whether the field cannot be deleted. (Inherited from Field.) | |
ServerObjectIsNull | Gets the server object and returns null if the server object is null. (Inherited from ClientObject.) | |
Sortable | Gets a value that specifies whether list items in the list can be sorted by the field value. (Inherited from Field.) | |
StaticName | Gets or sets a value that specifies a customizable identifier of the field. (Inherited from Field.) | |
Tag | Gets or sets data that is associated with the client object. (Inherited from ClientObject.) | |
Title | Gets or sets value that specifies the display name of the field. (Inherited from Field.) | |
TypeAsString | Gets or sets a value that specifies the type of the field. (Inherited from Field.) | |
TypeDisplayName | Gets a value that specifies the display name for the type of the field. (Inherited from Field.) | |
TypeShortDescription | Gets a value that specifies the description for the type of the field. (Inherited from Field.) | |
ValidationFormula | Gets or sets a value that specifies the data validation criteria for the value of the field. (Inherited from Field.) | |
ValidationMessage | Gets or sets a value that specifies the error message returned when data validation fails for the field. (Inherited from Field.) |
Top
Methods
Name | Description | |
---|---|---|
CheckUninitializedProperty | Checks to determine whether the specified value type property of a ClientObject has been initialized. (Inherited from ClientObject.) | |
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.) | |
DeleteObject | Deletes the field from the list, from the site, or from the content types within the list. (Inherited from Field.) | |
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.) | |
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.) | |
InitOnePropertyFromJson | This member is reserved for internal use and is not intended to be used directly from your code. (Overrides FieldMultiChoice.InitOnePropertyFromJson(String, JsonReader).) | |
IsObjectPropertyInstantiated | Indicates whether the specified property of the client object is instantiated. (Inherited from ClientObject.) | |
IsPropertyAvailable | Returns a Boolean value that indicates whether the specified scalar property has been retrieved or set. (Inherited from ClientObject.) | |
LoadExpandoFields | When overridden in a derived class, initializes the extended properties associated with the client object. (Inherited from ClientObject.) | |
RefreshLoad | Reloads all scalar properties associated with the client object when overridden in a derived class. (Inherited from ClientObject.) | |
RemoveFromParentCollection | Removes the current client object from the parent client object collection. (Inherited from ClientObject.) | |
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.) | |
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.) | |
ToString | (Inherited from Object.) | |
Update | Commits changed properties of the field. (Inherited from Field.) | |
UpdateAndPushChanges | Commits changed properties of the field and propagates changes to all lists that use the field. (Inherited from Field.) |
Top