PdfChoiceFieldItemCollection Class
Represents a collection of PdfChoiceFieldItems.
public sealed class PdfChoiceFieldItemCollection : PdfOptionalCollection<PdfChoiceFieldItem>, IList, ICollection, IList<PdfChoiceFieldItem>, ICollection<PdfChoiceFieldItem>, IReadOnlyList<PdfChoiceFieldItem>, IReadOnlyCollection<PdfChoiceFieldItem>, IEnumerable<PdfChoiceFieldItem>, IEnumerablePublic NotInheritable Class PdfChoiceFieldItemCollection
Inherits PdfOptionalCollection(Of PdfChoiceFieldItem)
Implements IList, ICollection, IList(Of PdfChoiceFieldItem), ICollection(Of PdfChoiceFieldItem), IReadOnlyList(Of PdfChoiceFieldItem), IReadOnlyCollection(Of PdfChoiceFieldItem), IEnumerable(Of PdfChoiceFieldItem), IEnumerable- Inheritance:
- System.ObjectPdfChoiceFieldItemCollection
Implements
Methods
Add(String)
Adds a new PdfChoiceFieldItem with the specified value to the PdfChoiceFieldItemCollection.
public PdfChoiceFieldItem Add(string value)Public Function Add(value As String) As PdfChoiceFieldItemParameters
value- System.String
The item value.
Returns
A new PdfChoiceFieldItem with the specified value added to the PdfChoiceFieldItemCollection.
Exceptions
- System.ArgumentException
value is null or System.String.Empty.
Add(String, String)
Adds a new PdfChoiceFieldItem with the specified value and export value to the PdfChoiceFieldItemCollection.
public PdfChoiceFieldItem Add(string value, string exportValue)Public Function Add(value As String, exportValue As String) As PdfChoiceFieldItemParameters
value- System.String
The item value.
exportValue- System.String
The item export value.
Returns
A new PdfChoiceFieldItem with the specified value and export value added to the PdfChoiceFieldItemCollection.
Exceptions
- System.ArgumentException
value or exportValue is null or System.String.Empty.
Inherited Properties
| Count | Gets the number of elements contained in the PdfCollection. (Inherited from PdfCollection) |
| Metadata | (Optional; PDF 1.4) A metadata stream containing metadata for the component. (Inherited from PdfObject) |
Inherited Methods
| Clear() | Removes all elements from the PdfCollection. (Inherited from PdfCollection) |
| RemoveAt(System.Int32) | Removes the element at the specified index of the PdfCollection. (Inherited from PdfCollection) |