DdeLinkValue Class

DDE Link Value.When the object is serialized out as xml, its qualified name is x:val.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.Spreadsheet.XstringType
          DocumentFormat.OpenXml.Spreadsheet.DdeLinkValue

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

Syntax

'Declaration
Public Class DdeLinkValue _
    Inherits XstringType
'Usage
Dim instance As DdeLinkValue
public class DdeLinkValue : XstringType

Remarks

[ISO/IEC 29500-1 1st Edition]

18.14.17 val (DDE Link Value)

This element specifies a value associated with a particular DDE item.

[Example: Here's an example of how values*,* value*, and* val elements are written out in the spreadsheetML for a ddeItem supplied by a DDE server. In this example different cells in the workbook are bound to these specific DDE items:

<ddeLink xmlns:r="…" ddeService="StockSrv" ddeTopic="Prices">
<ddeItems>
<ddeItem name="Bread" advise="1">
<values>
<value>
<val>3.5</val>
</value>
</values>
</ddeItem>
    <ddeItem name="Milk" advise="1">
<values>
<value>
<val>5.7400000000000002</val>
</value>
</values>
</ddeItem>
    <ddeItem name="MSFT" advise="1">
<values>
<value>
<val>54.130000000000003</val>
</value>
</values>
</ddeItem>
    <ddeItem name="StdDocumentName" ole="1" advise="1"/>
</ddeItems>
</ddeLink>

end example]

The possible values for this element are defined by the ST_Xstring simple type (§22.9.2.19).

Parent Elements

value (§18.14.18)

[Note: The W3C XML Schema definition of this element’s content model (ST_Xstring) is located in §A.6.9. 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

DdeLinkValue Members

DocumentFormat.OpenXml.Spreadsheet Namespace