Membres SPField (Microsoft.SharePoint)

Represents a field in a list on a Windows SharePoint Services Web site.

Les tableaux suivants contiennent la liste des membres exposés par le type SPField .

Constructeurs publics

  Nom Description
Méthode publique SPField Surchargé. Initializes a new instance of the SPField class.

Haut de page

Propriétés publiques

  Nom Description
Propriété publique AggregationFunction Gets or sets the aggregation function for the field.
Propriété publique AllowDeletion Gets or sets a Boolean value that specifies whether the field can be deleted.
Propriété publique AuthoringInfo Gets the descriptive string that is used in pages for editing fields to identify the field and its purpose.
Propriété publique CanBeDeleted Gets a Boolean value that indicates whether the field can be deleted.
Propriété publique CanToggleHidden Gets a Boolean value that indicates whether the column can be hidden through the user interface.
Propriété publique DefaultFormula Gets or sets the default formula for a calculated field.
Propriété publique DefaultValue Gets or sets the default value for a field.
Propriété publique DefaultValueTyped Gets the default value object based on the field type.
Propriété publique Description Gets or sets the description for a field.
Propriété publique Direction Gets or sets the direction of the reading order for the field.
Propriété publique DisplaySize Gets or sets the display size for the field.
Propriété publique FieldReferences Gets a string array that contains the internal names of fields that are referenced in a computed field.
Propriété publique FieldRenderingControl Gets the field type control that is used to render the field in Display, Edit, and New forms, as well as in data form Web Parts or pages that use field controls.
Propriété publique FieldRenderingMobileControl Gets the mobile field type control that is used to render the field in Display, Edit, and New forms, data form Web Parts, or any pages that use field controls in mobile applications.
Propriété publique FieldTypeDefinition Gets an SPFieldTypeDefinition object that represents the field type definition for the field.
Propriété publique FieldValueType Gets the value type of the field when the field type has its own value type.
Propriété publique Filterable Gets a Boolean value that indicates whether the field can be filtered.
Propriété publique FilterableNoRecurrence Gets a Boolean value that indicates whether a filter can be created on a field in a view that does not expand recurring events.
Propriété publique FromBaseType Gets a Boolean value that indicates whether the field derives from a base field type.
Propriété publique Group Gets or sets the column group to which the field belongs.
Propriété publique Hidden Gets or sets a Boolean value that specifies whether the field is displayed in the list.
Propriété publique Id Gets the GUID of the field.
Propriété publique IMEMode Gets or sets the Input Method Editor (IME) mode bias to use for the field. The IME enables conversion of keystrokes between languages when one writing system has more characters than can be encoded for the given keyboard.
Propriété publique Indexed Gets or sets a Boolean value that specifies whether the field is indexed.
Propriété publique InternalName Gets the internal name that is used for the field.
Propriété publique JumpToField Gets the name of a field that represents the next question to which users are taken in a survey, which is dependent on the answer they give to the current question.
Propriété publique NoCrawl Gets or sets a Boolean value that specifies whether the field can be crawled by a search engine.
Propriété publique ParentList Gets the parent list that contains the field.
Propriété publique PIAttribute Gets or sets the attribute in the document processing instruction (specified by the PITarget property) that is used as the column value for property promotion and demotion in XML documents.
Propriété publique PITarget Gets or sets the document processing instruction in which the column value is stored in documents of the specified content type, which is used for property promotion and demotion in XML documents.
Propriété publique PreviewValueTyped Gets a preview value of field data for a design-time view of the field control in Display and Edit modes when there is no list item data associated with the field.
Propriété publique PrimaryPIAttribute Gets or sets an alternate attribute in the document processing instruction, specified by the PrimaryPITarget property, that is used as the column value in property promotion and demotion in XML documents.
Propriété publique PrimaryPITarget Gets or sets an alternative document processing instruction in which the column value is stored for documents of the specified content type.
Propriété publique PushChangesToLists Gets or sets a Boolean value that specifies whether to propagate changes that are made in the field template to lists that implement the field.
Propriété publique ReadOnlyField Gets or sets a Boolean value that specifies whether values in the field can be modified.
Propriété publique RelatedField Gets or sets the internal name of a field to which the current field is related.
Propriété publique Reorderable Gets a Boolean value that indicates whether values in the field can be reordered.
Propriété publique Required Gets or sets a Boolean value that determines whether the field requires values.
Propriété publique SchemaXml Gets or sets the schema that defines the field.
Propriété publique Scope Gets the Web site-relative path to the list in which the field collection is used.
Propriété publique Sealed Gets a Boolean value that indicates whether other fields can be derived from the field.
Propriété publique ShowInDisplayForm Gets or sets a Boolean value that specifies whether the field is displayed in the form for displaying list items.
Propriété publique ShowInEditForm Gets or sets a Boolean value that specifies whether the field is displayed in the form that is used to edit list items.
Propriété publique ShowInListSettings Gets or sets a Boolean value that specifies whether the field is displayed in the page for customizing list settings.
Propriété publique ShowInNewForm Gets or sets a Boolean value that specifies whether the field is displayed in the form that is used to create list items.
Propriété publique ShowInVersionHistory Gets or sets a Boolean value that specifies whether the field is displayed in the page for viewing list item versions.
Propriété publique ShowInViewForms Gets or sets a Boolean value that specifies whether the field is displayed in pages that are used to view list data.
Propriété publique Sortable Gets a Boolean value that determines whether the field can be sorted.
Propriété publique SourceId Gets the namespace that defines the field or the GUID of the list in which the custom field has been created through the user interface.
Propriété publique StaticName Gets or sets the internal name of the field.
Propriété publique Title Gets or sets the display name for the field.
Propriété publique TranslationXml Document content that has been stored in a multilingual database for display as an XML document.
Propriété publique Type Gets or sets the type of the field.
Propriété publique TypeAsString Gets the type of the field as a string value.
Propriété publique TypeDisplayName Gets the display name of the field type.
Propriété publique TypeShortDescription Gets the description of the field.
Propriété publique UsedInWebContentTypes Gets a Boolean value that indicates whether the field is implemented in any content type that is used in the site collection.
Propriété publique Version Gets the version of the field.
Propriété publique XPath Gets or sets the XPath expression to the field.

Haut de page

Méthodes publiques

(voir aussi Méthodes protégées )

  Nom Description
Méthode publique Delete Deletes the field.
Méthode publique Equals  Surchargé. (hérité de Object)
Méthode publique GetCustomProperty Returns the value of a custom property as an object.
Méthode publique GetFieldValue Converts the specified value into a field type value object when the field type requires a complex data type that is different from the parent field type.
Méthode publique GetFieldValueAsHtml Returns the field value in HTML format in order to render the field value directly on the page.
Méthode publique GetFieldValueAsText Returns the field value as plain text.
Méthode publique GetFieldValueForEdit Returns the field value that is rendered in Edit mode in Edit and New forms.
Méthode publique GetHashCode  (hérité de Object)
Méthode publique GetProperty Returns the value that is contained by the specified property.
Méthode publique GetType  (hérité de Object)
Méthode publique GetValidatedString Used for data serialization logic and for field validation logic that is specific to a custom field type to convert the field value object into a validated, serialized string.
Méthode publique OnAdded Occurs after a field is added.
Méthode publique OnDeleting Occurs when a field is being deleted.
Méthode publique OnUpdated Occurs after changes are made to a field.
Méthode publique Statique ReferenceEquals  (hérité de Object)
Méthode publique SetCustomProperty Sets a value for a specified property.
Méthode publique ToString Substitué. Returns the title of the field.
Méthode publique Update Surchargé. Updates the database with changes that are made to the field.

Haut de page

Méthodes protégées

  Nom Description
Méthode protégée Finalize  (hérité de Object)
Méthode protégée MemberwiseClone  (hérité de Object)

Haut de page

Voir aussi

Référence

SPField, classe
Microsoft.SharePoint, espace de noms