共用方式為


SmartTagProperties Class

Smart Tag Properties.When the object is serialized out as xml, its qualified name is w:smartTagPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Wordprocessing.SmartTagProperties

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

Syntax

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

Remarks

The following table lists the possible child types:

  • SmartTagAttribute <w:attr>

[ISO/IEC 29500-1 1st Edition]

17.5.1.10 smartTagPr (Smart Tag Properties)

This element specifies the set of properties which shall be applied to the parent smart tag.

[Example: Consider a smart tag with the following properties specified:

<w:smartTagPr>
<w:attr w:name="date" w:val="01/01/2006"/>
<w:attr w:name="status" w:val="draft"/>
</w:smartTagPr>

This smart tag specifies two properties: the presence of two smart tag properties via the attr element (§17.5.1.2). end example]

Parent Elements

smartTag (§17.5.1.9)

Child Elements

Subclause

attr (Smart Tag Property)

§17.5.1.2

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

SmartTagProperties Members

DocumentFormat.OpenXml.Wordprocessing Namespace