Partager via


StringReference Class

Defines the StringReference Class.When the object is serialized out as xml, its qualified name is c:strRef.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Charts.StringReference

Namespace:  DocumentFormat.OpenXml.Drawing.Charts
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(Formula))> _
<ChildElementInfoAttribute(GetType(StringCache))> _
Public Class StringReference _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As StringReference
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(Formula))]
[ChildElementInfoAttribute(typeof(StringCache))]
public class StringReference : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Formula <c:f>

  • StringCache <c:strCache>

  • ExtensionList <c:extLst>

[ISO/IEC 29500-1 1st Edition]

21.2.2.201 strRef (String Reference)

This element specifies a reference to data for a single data label or title with a cache of the last values used.

Parent Elements

cat (§21.2.2.24); tx (§21.2.2.215); tx (§21.2.2.214); xVal (§21.2.2.234)

Child Elements

Subclause

extLst (Chart Extensibility)

§21.2.2.64

f (Formula)

§21.2.2.65

strCache (String Cache)

§21.2.2.199

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

© 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

StringReference Members

DocumentFormat.OpenXml.Drawing.Charts Namespace