This topic has not yet been rated - Rate this topic

SPFieldCollection Members

Windows SharePoint Services 3

Represents a collection of SPField objects.

The following tables list the members exposed by the SPFieldCollection type.

  Name Description
Public method SPFieldCollection Initializes a new instance of the SPFieldCollection class based on the specified Web site and schema.
Top
  Name Description
Public property Count Overridden. Gets the number of fields in the collection.
Public property Item Overloaded. Gets the specified field from the collection.
Public property List Gets the parent list of the collection.
Public property SchemaXml Gets the schema that defines the collection.
Public property UpgradedPersistedProperties  Gets the collection of field names and values for fields that were deleted or changed. (inherited from SPAutoSerializingObject)
Public property Web Gets the parent Web site of the field collection.
Top
(see also Protected Methods )
  Name Description
Public method Add Overloaded. Creates a field in the collection.
Public method AddFieldAsXml Overloaded. Creates a field based on the specified schema.
Public method AddLookup Overloaded. Creates a lookup field in the collection of fields for a list.
Public method Static 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.
Public method ContainsField Returns a Boolean value that indicates whether the collection contains the specified field.
Public method CreateNewField Creates a field based on the specified type name and display name.
Public method Delete Deletes the field with the specified internal name from the collection.
Public method Equals  Overloaded. (inherited from Object)
Public method GetField Returns the field with the specified internal name or display name from the collection.
Public method GetFieldByInternalName Returns the field with the specified internal name from the collection.
Public method GetHashCode  (inherited from Object)
Public method GetObjectData  (inherited from SPAutoSerializingObject)
Public method GetType  (inherited from Object)
Public method Static ReferenceEquals  (inherited from Object)
Public method ToString  (inherited from Object)
Top
  Name Description
Protected method Finalize  (inherited from Object)
Protected method MemberwiseClone  (inherited from Object)
Protected method OnDeserialization  Called after the object has been deserialized from the file system cache or the database.(inherited from SPAutoSerializingObject)
Protected method UpdateParent  Causes the containing SPPersistedObject, if one exists, to update its state. (inherited from SPAutoSerializingObject)
Top
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ