Aspose::Words::Fields::FormFieldCollection::idx_get method
Contents
[
Hide
]FormFieldCollection::idx_get(const System::String&) method
Returns a form field by bookmark name.
System::SharedPtr<Aspose::Words::Fields::FormField> Aspose::Words::Fields::FormFieldCollection::idx_get(const System::String &bookmarkName)
Parameter | Type | Description |
---|---|---|
bookmarkName | const System::String& | Case-insensitive bookmark name. |
See Also
- Class FormField
- Class FormFieldCollection
- Namespace Aspose::Words::Fields
- Library Aspose.Words for C++
FormFieldCollection::idx_get(int32_t) method
Returns a form field at the specified index.
System::SharedPtr<Aspose::Words::Fields::FormField> Aspose::Words::Fields::FormFieldCollection::idx_get(int32_t index)
Parameter | Type | Description |
---|---|---|
index | int32_t | An index into the collection. |
Remarks
The index is zero-based.
Negative indexes are allowed and indicate access from the back of the collection. For example -1 means the last item, -2 means the second before last and so on.
If index is greater than or equal to the number of items in the list, this returns a null reference.
If index is negative and its absolute value is greater than the number of items in the list, this returns a null reference.
See Also
- Class FormField
- Class FormFieldCollection
- Namespace Aspose::Words::Fields
- Library Aspose.Words for C++