This documentation is archived and is not being maintained.

HttpFileCollection Properties

The properties of the HttpFileCollection class are listed here. For a complete list of HttpFileCollection class members, see the HttpFileCollection Members topic.

Public Properties

public propertyAllKeys Gets a string array containing the keys (names) of all members in the file collection.
public propertyCount (inherited from NameObjectCollectionBase) Gets the number of key-and-value pairs contained in the NameObjectCollectionBase instance.
public propertyItem Overloaded. Gets an individual HttpPostedFile object from the file collection. This property is overloaded to allow retrieval of objects by either name or numerical index.

In C#, this property is the indexer for the HttpFileCollection class.

public propertyKeys (inherited from NameObjectCollectionBase) Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance.

Protected Properties

protected propertyIsReadOnly (inherited from NameObjectCollectionBase) Gets or sets a value indicating whether the NameObjectCollectionBase instance is read-only.

See Also

HttpFileCollection Class | System.Web Namespace

Show: