Compartir a través de


ListItem Class

Non-linked List Item.When the object is serialized out as xml, its qualified name is xvml:ListItem.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.Vml.Spreadsheet.ListItem

Namespace:  DocumentFormat.OpenXml.Vml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class ListItem _
    Inherits OpenXmlLeafTextElement
'Usage
Dim instance As ListItem
public class ListItem : OpenXmlLeafTextElement

Remarks

[ISO/IEC 29500-1 1st Edition]

14.4.2.36 ListItem (Non-linked List Item)

This element specifies a non-linked list item that shall be persisted with the list. This element is used for list boxes. [Rationale: This is a place for applications to store optional information associated with the list box. For example, an item to be shown in the list box that is not linked from another set of data. end rationale]

[Example:

<x:ClientData> …
<x:ListItem>TheItem</x:ListItem>
</x:ClientData>

end example]

The possible values for this element are defined by the W3C XML Schema string datatype.

Parent Elements

ClientData (§14.4.2.12)

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ListItem Members

DocumentFormat.OpenXml.Vml.Spreadsheet Namespace