SPFieldCollection Properties

Include Protected Members
Include Inherited Members

The SPFieldCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of fields in the collection. (Overrides SPBaseCollection.Count.)
Public property Item[Guid] Gets the field with the specified identifier (ID) from the collection.
Public property Item[Int32] Gets the field object at the specified index in the collection. In Microsoft C#, this property is an indexer for the SPFieldCollection class.
Public property Item[String] Gets the field with the specified display name from the collection. In Microsoft C#, this property is an indexer for the SPFieldCollection class.
Public property List Gets the parent list of the collection.
Public property SchemaXml Gets the schema that defines the collection.
Public property SchemaXmlWithResourceTokens Read-only property that retrieves extended XML schema for the field using resource tokens.
Public property UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)
Public property Web Gets the parent website of the fields.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPFieldCollection Class

Microsoft.SharePoint Namespace