Aracılığıyla paylaş


FootnoteEndnoteType.Type Property

Definition

Footnote/Endnote Type

Represents the following attribute in the schema: w:type

[DocumentFormat.OpenXml.SchemaAttr(23, "type")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.FootnoteEndnoteValues> Type { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.FootnoteEndnoteValues> Type { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "type")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.FootnoteEndnoteValues>? Type { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:type")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.FootnoteEndnoteValues>? Type { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.FootnoteEndnoteValues>? Type { get; set; }
member this.Type : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.FootnoteEndnoteValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "type")>]
member this.Type : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.FootnoteEndnoteValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:type")>]
member this.Type : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.FootnoteEndnoteValues> with get, set
Public Property Type As EnumValue(Of FootnoteEndnoteValues)

Property Value

Returns EnumValue<T>.

Attributes

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies the type of footnote or endnote contained within the current footnote or endnote content definition.

If this attribute is omitted, then it shall be considered to be of type normal. If a footnote or endnote is not of type normal, then it shall not be referenced by a footnoteReference or endnoteReference element within the main document story.

Consider the following example of a footnote defined in a WordprocessingML document as follows:

<w:footnote w:type="continuationSeparator" w:id="1">  
  <w:p>  
    <w:r>  
      <w:continuationSeparator />  
    </w:r>  
  </w:p>  
</w:footnote>  

In this example, the footnote is of type continuationSeparator and shall be used by a consumer to separate continued footnotes from the main document contents (see simple type for full details).

The possible values for this attribute are defined by the ST_FtnEdn simple type.

Applies to