Class FormFieldDataCollection
A read-only collection of all form fields in a document, accessible by name or index.
Inheritance
FormFieldDataCollection
Assembly: DRIT.Document.dll
public class FormFieldDataCollection : IEnumerable<FormFieldData>, IEnumerable
Properties
Gets the number of form fields in the collection.
Declaration
public int Count { get; }
Property Value
Gets the form field at the specified index.
Declaration
public FormFieldData this[int index] { get; }
Parameters
| Type |
Name |
Description |
| int |
index |
|
Property Value
Gets the form field with the specified name, or null if not found.
Declaration
public FormFieldData this[string name] { get; }
Parameters
| Type |
Name |
Description |
| string |
name |
|
Property Value
Methods
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<FormFieldData> GetEnumerator()
Returns
Gets the form field with the specified name as a typed FormCheckBoxData, or null.
Declaration
public FormCheckBoxData GetFormCheckBoxData(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
Gets the form field with the specified name as a typed FormDropDownData, or null.
Declaration
public FormDropDownData GetFormDropDownData(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
GetFormTextData(string)
Gets the form field with the specified name as a typed FormTextData, or null.
Declaration
public FormTextData GetFormTextData(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
Implements