다음을 통해 공유


DocPartName.Decorated Property

Definition

Built-In Entry

Represents the following attribute in the schema: w:decorated

[DocumentFormat.OpenXml.SchemaAttr(23, "decorated")]
public DocumentFormat.OpenXml.OnOffValue Decorated { get; set; }
public DocumentFormat.OpenXml.OnOffValue Decorated { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "decorated")]
public DocumentFormat.OpenXml.OnOffValue? Decorated { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:decorated")]
public DocumentFormat.OpenXml.OnOffValue? Decorated { get; set; }
public DocumentFormat.OpenXml.OnOffValue? Decorated { get; set; }
member this.Decorated : DocumentFormat.OpenXml.OnOffValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "decorated")>]
member this.Decorated : DocumentFormat.OpenXml.OnOffValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:decorated")>]
member this.Decorated : DocumentFormat.OpenXml.OnOffValue with get, set
Public Property Decorated As OnOffValue

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 that the name for the current entry is a built-in entry which should not be displayed in the user interface. This information may be used by an application as needed—for example, to disambiguate an entry from one with the same name, ensuring that the built-in entry can be uniquely identified by the application.

If this attribute is omitted, its value shall be assumed to be false.

Consider the following WordprocessingML fragment for the name of a single glossary document entry:

<w:name w:decorated="true" w:val=":-)" />  

The decorated attribute specifies that the parent entry is a built-in entry, and shall be treated as such.

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

Applies to