SdtListItemCollection
Overview
SdtListItemCollection is a class in Aspose.Words FOSS for .NET.
Inherits from: IEnumerable<SdtListItem>.
Provides access to SdtListItem elements of a structured document tag.
This class provides 4 methods for working with SdtListItemCollection objects in .NET programs.
Available methods include: Add, Clear, GetEnumerator, RemoveAt.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: Count, SelectedValue.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
SelectedValue | SdtListItem | Read/Write | Specifies currently selected value in this list. |
Count | int | Read | Gets number of items in the collection. |
Methods
| Signature | Description |
|---|---|
GetEnumerator() | Returns an enumeratoriteratorenumerator object that can be used to iterate over all items in the collection. |
Add(item: SdtListItem) | Adds an item to this collection. |
RemoveAt(index: int) | Removes a list item at the specified index. |
Clear() | Clears all items from this collection. |