Share via


ListValue<T> Class

Definition

Represents the list value attributes (xsd:list).

public class ListValue<T> : DocumentFormat.OpenXml.OpenXmlSimpleType, System.Collections.Generic.IEnumerable<T> where T : OpenXmlSimpleType, new()
public class ListValue<T> : DocumentFormat.OpenXml.OpenXmlSimpleType where T : OpenXmlSimpleType, new()
type ListValue<'T (requires 'T :> OpenXmlSimpleType and 'T : (new : unit -> 'T))> = class
    inherit OpenXmlSimpleType
    interface seq<'T (requires 'T :> OpenXmlSimpleType and 'T : (new : unit -> 'T))>
    interface IEnumerable
type ListValue<'T (requires 'T :> OpenXmlSimpleType and 'T : (new : unit -> 'T))> = class
    inherit OpenXmlSimpleType
Public Class ListValue(Of T)
Inherits OpenXmlSimpleType
Implements IEnumerable(Of T)
Public Class ListValue(Of T)
Inherits OpenXmlSimpleType

Type Parameters

T
Inheritance
ListValue<T>
Implements

Constructors

ListValue<T>()

Initializes a new instance of the ListValue<T> class.

ListValue<T>(IEnumerable<T>)

Initializes a new instance of the ListValue<T> class using the supplied list of values.

ListValue<T>(ListValue<T>)

Initializes a new instance of the ListValue<T> class by deep copying the supplied ListValue<T> class.

Properties

HasValue

Gets a value that indicates whether the underneath text value is a valid value.

InnerText

Gets or sets the inner XML text.

Items

Gets the values.

TextValue
Obsolete.

Gets or sets the internal raw text value. DO NOT use this property. Only for OpenXmlSimpleType.cs internal use.

(Inherited from OpenXmlSimpleType)

Methods

Clone()

Creates a duplicate of the current value.

(Inherited from OpenXmlSimpleType)
GetEnumerator()

Returns an enumerator that iterates through the collection.

ToString()

Returns a String that represents the current value.

(Inherited from OpenXmlSimpleType)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Applies to