DefinedNames Class

Defines the DefinedNames Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is x14:definedNames.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Excel.DefinedNames

Namespace:  DocumentFormat.OpenXml.Office2010.Excel
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(DefinedName), FileFormatVersions.Office2010)> _
Public Class DefinedNames _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As DefinedNames
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(DefinedName), FileFormatVersions.Office2010)]
public class DefinedNames : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • DefinedName <x14:definedName>

2.2.3.2 definedNames

Target namespace: https://schemas.microsoft.com/office/excel/2008/2/main

A CT_DefinedNames element that specifies additional properties for macros.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment defines the contents of this element.

<xsd:element name="definedNames" type="CT_DefinedNames"/>

2.2.5.2 CT_DefinedNames

Target namespace: https://schemas.microsoft.com/office/excel/2008/2/main

Referenced by: definedNames

A complex type that specifies a group of additional properties for macros.

Child Elements:

definedName : A CT_DefinedName element that specifies additional properties for a particular macro.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment defines the contents of this complex type.

<xsd:complexType name="CT_DefinedNames">

<xsd:sequence>

<xsd:element name="definedName" type="CT_DefinedName" minOccurs="1" maxOccurs="unbounded"/>

</xsd:sequence>

</xsd:complexType>

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

DefinedNames Members

DocumentFormat.OpenXml.Office2010.Excel Namespace