Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

StringVariantValue Class

String Value.When the object is serialized out as xml, its qualified name is p:strVal.


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

public class StringVariantValue : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

19.5.75 strVal (String Value)

This element specifies a string value to be used for evaluation by a parent element. The exact meaning of the value contained within this element is not defined here but is dependent on the usage of this element in conjunction with one of the listed parent elements.

Parent Elements

progress (§19.5.57); to (§19.5.89); val (§19.5.92)



val (Value)

This attribute specifies the string value that this element contains and that should be used in evaluating this element.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_TLAnimVariantStringVal) is located in §A.3. end note]

© ISO/IEC29500: 2008.

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