StringReference Constructors 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| StringReference() | Initializes a new instance of the StringReference class. | 
| StringReference(OpenXmlElement[]) | Initializes a new instance of the StringReference class with the specified child elements. | 
| StringReference(IEnumerable<OpenXmlElement>) | Initializes a new instance of the StringReference class with the specified child elements. | 
| StringReference(String) | Initializes a new instance of the StringReference class from outer XML. | 
StringReference()
Initializes a new instance of the StringReference class.
public StringReference();Public Sub New ()Applies to
StringReference(OpenXmlElement[])
Initializes a new instance of the StringReference class with the specified child elements.
public StringReference(params DocumentFormat.OpenXml.OpenXmlElement[] childElements);new DocumentFormat.OpenXml.Drawing.Charts.StringReference : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Drawing.Charts.StringReferencePublic Sub New (ParamArray childElements As OpenXmlElement())Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
StringReference(IEnumerable<OpenXmlElement>)
Initializes a new instance of the StringReference class with the specified child elements.
public StringReference(System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);new DocumentFormat.OpenXml.Drawing.Charts.StringReference : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Drawing.Charts.StringReferencePublic Sub New (childElements As IEnumerable(Of OpenXmlElement))Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
StringReference(String)
Initializes a new instance of the StringReference class from outer XML.
public StringReference(string outerXml);new DocumentFormat.OpenXml.Drawing.Charts.StringReference : string -> DocumentFormat.OpenXml.Drawing.Charts.StringReferencePublic Sub New (outerXml As String)Parameters
- outerXml
- String
Specifies the outer XML of the element.