ExternalDefinedName Class

Defined Name.When the object is serialized out as xml, its qualified name is x:definedName.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.ExternalDefinedName

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

Syntax

'Declaration
Public Class ExternalDefinedName _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As ExternalDefinedName
public class ExternalDefinedName : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

18.14.5 definedName (Defined Name)

This element contains information about a named range in an external workbook.

Parent Elements

definedNames (§18.14.6)

Attributes

Description

name (Defined Name)

The defined name. This attribute is required.

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

refersTo (Refers To)

Name range definition string.

[Example:

<definedNames>
<definedName name="namedrange"
refersTo="='Sheet1'!$D$5:$D$10"/>
</definedNames>

end example]

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

sheetId (Sheet Id)

The index of the worksheet that the named range applies to for named ranges that are scoped to a particular worksheet rather than the full workbook. This attribute is optional.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

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

ExternalDefinedName Members

DocumentFormat.OpenXml.Spreadsheet Namespace