| IFormCollection Interface | 
Namespace: CMS.Base.Internal
 Syntax
Syntaxpublic interface IFormCollection : IEnumerable<KeyValuePair<string, StringValues>>, IEnumerable
The IFormCollection type exposes the following members.
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Count | 
            Gets the number of form items.
             | 
|  | Files | 
            Gets collection of files within the form.
             | 
|  | Item | 
            Gets value of the form item specified by key.
             | 
|  | Keys | 
            Gets collection containing name keys of the form.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | ContainsKey | 
            Determines whether the collection contains a form item with specified name.
             | 
|  | TryGetValue | 
            Retrieves value of form item specified by given name.
             | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | BatchKeyValuePairString, StringValues | 
            Returns input in batches of batchSize size.
            (Defined by BaseExtensions.) | 
|  | ToJSON | 
            Returns JSON representation of current instance of IEnumerable.
            (Defined by DataExtensions.) | 
|  | ToXML | 
            Returns XML representation of current instance of IEnumerable.
            (Defined by DataExtensions.) | 
 See Also
See Also