FormCollection is defined in the Telligent.Evolution.Extensibility.Version1 namespace.
Definition
class FormCollection : HttpCollection
{
int Count { get; }
bool IsReadOnly { get; }
IList<string> Keys { get; }
bool ContainsKey(string key);
IList<string> GetAll(string key);
string GetFirst(string key, string defaultValue = null);
void Set(string key, params string[] values);
void Set(string key, IList<string> values);
}
Methods
bool ContainsKey(string key);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| key | string | Key | Required |
Return Type
IList<string> GetAll(string key);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| key | string | Key | Required |
Return Type
string GetFirst(string key, string defaultValue = null);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| key | string | Key | Required | ||
| defaultValue | string | Default Value | Optional |
Return Type
void Set(string key, params string[] values);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| key | string | Key | Required | ||
| values | string[] | Values | Required |
void Set(string key, IList<string> values);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| key | string | Key | Required | ||
| values | IList<string> | Values | Required |