OptionCollection Class
Class representing collection of options of the choice field.
Inheritance Hierarchy
SystemObject
  Aspose.Pdf.FormsOptionCollection

Namespace: Aspose.Pdf.Forms
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.6
Syntax
public sealed class OptionCollection : ICollection<Option>, 
	IEnumerable<Option>, IEnumerable

The OptionCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets number of options.
Public propertyIsReadOnly
Gets a value indicating if collection is readonly.
Public propertyIsSynchronized
Returns true of object is synchronized.
Public propertyItemInt32
Gets option by index.
Public propertyItemString
Gets option by its name.
Public propertySyncRoot
Synchronization object of the collection.
Methods
  NameDescription
Public methodAdd
Public methodClear
Public methodContains
Public methodCopyTo
Copies options into array.
Public methodEquals (Inherited from Object.)
Public methodget(Int32)
Gets option by index.
Public methodget(String)
Gets option from colleciton by option name.
Public methodGetEnumerator
Returns enumerator for options in collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodRemove
Public methodToString (Inherited from Object.)
See Also