ListItem.DisplayText Property

List Entry Display Text.Represents the attribte in schema: w:displayText

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "displayText")> _
Public Property DisplayText As StringValue
    Get
    Set
'Usage
Dim instance As ListItem
Dim value As StringValue

value = instance.DisplayText

instance.DisplayText = value
[SchemaAttrAttribute(, "displayText")]
public StringValue DisplayText { get; set; }

Property Value

Type: DocumentFormat.OpenXml.StringValue
Returns StringValue.

See Also

Reference

ListItem Class

ListItem Members

DocumentFormat.OpenXml.Wordprocessing Namespace