Main Class

Main.When the object is serialized out as xml, its qualified name is x:main.

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

[ChildElementInfoAttribute(typeof(Topic))]
public class Main : OpenXmlCompositeElement

The following table lists the possible child types:

  • Topic <x:tp>


[ISO/IEC 29500-1 1st Edition]

18.15.1 main (Main)

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

Parent Elements

volType (§18.15.5)

Child Elements

Subclause

tp (Topic)

§18.15.3

Attributes

Description

first (First String)

Specifies the first string of all topics within this main. This string corresponds to the first argument to the RTD or CUBE function.

For RTD functions, this argument represents the progID of the IRTDServer.

[Example:


<main first="jrtdx.rtd">

end example]

For CUBE functions, this argument represents the CUBE connection.

[Example:


<main first="xlextdat9 Adventure Works DW Adventure Works">

end example]

For more information on RTD and CUBE functions in SpreadsheetML, see §18.17 in Formulas.

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

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

Community Additions

ADD
Show: