VTLPSTR Class

LPSTR.When the object is serialized out as xml, its qualified name is vt:lpstr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.VariantTypes.VTLPSTR

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

22.4.2.17 lpstr (LPSTR)

This element specifies a string variant type. For all characters that cannot be represented in XML as defined by the XML 1.0 specification, the characters are escaped using the Unicode numerical character representation escape character format _xHHHH_, where H represents a hexadecimal character in the character's value. [Example: The Unicode character 8 is not permitted in an XML 1.0 document, so it must be escaped as _x0008_. end example]

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

Parent Elements

property (§22.3.2.2); variant (§22.4.2.32); vector (§22.4.2.33)

© 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

VTLPSTR Members

DocumentFormat.OpenXml.VariantTypes Namespace