SPFieldCollection Members
Represents a collection of SPField objects.
The following tables list the members exposed by the SPFieldCollection type.
| Name | Description | |
|---|---|---|
| SPFieldCollection | Initializes a new instance of the SPFieldCollection class based on the specified Web site and schema. |
| Name | Description | |
|---|---|---|
| Count | Overridden. Gets the number of fields in the collection. |
| Item | Overloaded. Gets the specified field from the collection. |
| List | Gets the parent list of the collection. |
| SchemaXml | Gets the schema that defines the collection. |
| UpgradedPersistedProperties | Gets the collection of field names and values for fields that were deleted or changed. (inherited from SPAutoSerializingObject) |
| Web | Gets the parent Web site of the field collection. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Add | Overloaded. Creates a field in the collection. |
| AddFieldAsXml | Overloaded. Creates a field based on the specified schema. |
| AddLookup | Overloaded. Creates a lookup field in the collection of fields for a list. |
| AddSPFieldCreatorDelegate | Adds a callback to the list of callbacks that is associated with the fields in the SPFieldCollection that is maintained for multithreading and asynchronous communications. |
| ContainsField | Returns a Boolean value that indicates whether the collection contains the specified field. |
| CreateNewField | Creates a field based on the specified type name and display name. |
| Delete | Deletes the field with the specified internal name from the collection. |
| Equals | Overloaded. (inherited from Object) |
| GetField | Returns the field with the specified internal name or display name from the collection. |
| GetFieldByInternalName | Returns the field with the specified internal name from the collection. |
| GetHashCode | (inherited from Object) |
| GetObjectData | (inherited from SPAutoSerializingObject) |
| GetType | (inherited from Object) |
| ReferenceEquals | (inherited from Object) |
| ToString | (inherited from Object) |
| Name | Description | |
|---|---|---|
| Finalize | (inherited from Object) |
| MemberwiseClone | (inherited from Object) |
| OnDeserialization | Called after the object has been deserialized from the file system cache or the database.(inherited from SPAutoSerializingObject) |
| UpdateParent | Causes the containing SPPersistedObject, if one exists, to update its state. (inherited from SPAutoSerializingObject) |
| Name | Description | |
|---|---|---|
| System.Collections.ICollection.CopyTo | (inherited from SPBaseCollection) |
| System.Collections.IEnumerable.GetEnumerator | (inherited from SPBaseCollection) |
| System.Collections.ICollection.IsSynchronized | (inherited from SPBaseCollection) |
| System.Collections.ICollection.SyncRoot | (inherited from SPBaseCollection) |