共用方式為


Topic Class

Topic.When the object is serialized out as xml, its qualified name is x:tp.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Subtopic))> _
<ChildElementInfoAttribute(GetType(TopicReferences))> _
<ChildElementInfoAttribute(GetType(Xstring))> _
Public Class Topic _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Topic
[ChildElementInfoAttribute(typeof(Subtopic))]
[ChildElementInfoAttribute(typeof(TopicReferences))]
[ChildElementInfoAttribute(typeof(Xstring))]
public class Topic : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Xstring <x:v>

  • Subtopic <x:stp>

  • TopicReferences <x:tr>

[ISO/IEC 29500-1 1st Edition]

18.15.3 tp (Topic)

Represents dependency information for all topics within a volatile dependency type that share the same first string or argument.

For the RTD function, this collection will contain the remaining parameters of the function, and indicate the last known value and data type of that value.

Parent Elements

main (§18.15.1)

Child Elements

Subclause

stp (Strings in Subtopic)

§18.15.2

tr (References)

§18.15.4

v (Cell Value)

§18.3.1.96

Attributes

Description

t (Type)

Specifies the type of the cell value. This value corresponds to the type of data returned by the RTD or CUBE function.

[Example: In the following RTD example, the value "aaa: 4447" has a string data type.

<tp t="s">
<v>aaa: 4447</v>
</tp>

end example]

For Cube functions, this attribute can be ignored when stp value is "1".

The possible values for this attribute are defined by the ST_VolValueType simple type (§18.18.91).

[Note: The W3C XML Schema definition of this element’s content model (CT_VolTopic) 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

Topic Members

DocumentFormat.OpenXml.Spreadsheet Namespace