Share via


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

'宣言
<ChildElementInfoAttribute(GetType(Subtopic))> _
<ChildElementInfoAttribute(GetType(TopicReferences))> _
<ChildElementInfoAttribute(GetType(Xstring))> _
Public Class Topic _
    Inherits OpenXmlCompositeElement
'使用
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 初版]

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. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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