Class FormFields
- Namespace
- PolarStudio
- Assembly
- PolarStudio.dll
This class is used to access the fields that are sent in a HTML form.
public class FormFields
- Inheritance
-
FormFields
- Inherited Members
- Extension Methods
Properties
FieldNames
Returns all field names as an array of strings
public string[] FieldNames { get; }
Property Value
- string[]
Fields
Returns the underlying dictionary of strings with all the fields.
public Dictionary<string> Fields { get; }
Property Value
this[string, bool]
This method is used to get the value of one field. If wanted
public string this[string pFieldName, bool pReturnBinaryData = false] { get; }
Parameters
pFieldName
stringpReturnBinaryData
boolIf this parameter is set to True, the result will be returned as a binary string, without converting UTF8 to unicode and without converting hard-spaces (char 160) to normal spaces (char 32).
Property Value
- string
A string with the contents of the given field name. If the field name is not found, an empty string is returned.