SPFileCollection Properties

Include Protected Members
Include Inherited Members

The SPFileCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of files in the collection. (Overrides SPBaseCollection.Count.)
Public property Folder Gets the parent folder of the collection.
Public property Item[Int32] Gets the file object at the specified index in the collection. In Microsoft Visual C#, this property is an indexer for the SPFileCollection class.
Public property Item[String] Gets the file object with the specified URL from the collection. In Microsoft Visual C#, this property is an indexer for the SPFileCollection class.
Public property UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)
Public property Web Gets the site to which the collection belongs.

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

SPFileCollection Class

Microsoft.SharePoint Namespace