SdtListItemCollection

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

NameTypeAccessDescription
SelectedValueSdtListItemRead/WriteSpecifies currently selected value in this list.
CountintReadGets number of items in the collection.

Methods

SignatureDescription
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.

See Also