SdtListItem

Overview

SdtListItem is a class in Aspose.Words FOSS for .NET.

This element specifies a single list item within a parent ComboBox or DropDownList structured document tag.

This class provides 2 methods for working with SdtListItem objects in .NET programs. Available methods include: SdtListItem. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: DisplayText, Value.

Properties

NameTypeAccessDescription
DisplayTextstringReadGets the text to display in the run content in place of the Value attribute contents for this list item.
ValuestringReadGets the value of this list item.

Methods

SignatureDescription
SdtListItem(displayText: string, value: string)Initializes a new instance of this class.
SdtListItem(value: string)Initializes a new instance of this class.

See Also