Partager via


SmartTags Class

Smart Tags.When the object is serialized out as xml, its qualified name is x:smartTags.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.SmartTags

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(CellSmartTags))> _
Public Class SmartTags _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As SmartTags
[ChildElementInfoAttribute(typeof(CellSmartTags))]
public class SmartTags : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • CellSmartTags <x:cellSmartTags>

[ISO/IEC 29500-1 1st Edition]

18.3.1.90 smartTags (Smart Tags)

This collection expresses all smart tags associated with cells on this sheet. There can be multiple smart tags associated with a particular cell, and many cells with smart tags for a given worksheet.

[Example:

This example shows three smart tags, each one associated with a unique cell on the worksheet.

<smartTags>
<cellSmartTags r="A1">
<cellSmartTag type="0"/>
</cellSmartTags>
  <cellSmartTags r="B1">
<cellSmartTag type="0"/>
</cellSmartTags>
  <cellSmartTags r="B2">
<cellSmartTag type="0"/>
</cellSmartTags>
</smartTags>

end example]

Parent Elements

worksheet (§18.3.1.99)

Child Elements

Subclause

cellSmartTags (Cell Smart Tags)

§18.3.1.7

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

SmartTags Members

DocumentFormat.OpenXml.Spreadsheet Namespace