Share via


CommentText Class

Comment Text.When the object is serialized out as xml, its qualified name is x:text.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.RstType
        DocumentFormat.OpenXml.Spreadsheet.CommentText

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

Syntax

'Declaración
Public Class CommentText _
    Inherits RstType
'Uso
Dim instance As CommentText
public class CommentText : RstType

Remarks

The following table lists the possible child types:

  • Text <x:t>

  • Run <x:r>

  • PhoneticRun <x:rPh>

  • PhoneticProperties <x:phoneticPr>

[ISO/IEC 29500-1 1ª edición]

18.7.7 text (Comment Text)

This element contains rich text which represents the text of a comment. The maximum length for this text is a spreadsheet application implementation detail. A recommended guideline is 32767 chars.

Parent Elements

comment (§18.7.3)

Child Elements

Subclause

phoneticPr (Phonetic Properties)

§18.4.3

r (Rich Text Run)

§18.4.4

rPh (Phonetic Run)

§18.4.6

t (Text)

§18.4.12

[Note: The W3C XML Schema definition of this element's content model (CT_Rst) is located in §A.2. end note]

© ISO/IEC29500: 2008. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.

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

CommentText Members

DocumentFormat.OpenXml.Spreadsheet Namespace