This documentation is archived and is not being maintained.

SmartTags Class

Office 2010

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

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

public class SmartTags : OpenXmlCompositeElement

The following table lists the possible child types:

  • CellSmartTags <x:cellSmartTags>

[ISO/IEC 29500-1 1st Edition] 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.


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

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

end example]

Parent Elements

worksheet (§

Child Elements


cellSmartTags (Cell Smart Tags)


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

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.