DocPartTypes.All Property

Entry Is Of All Types.Represents the attribte in schema: w:all

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

Syntax

'Declaration
<SchemaAttrAttribute(, "all")> _
Public Property All As OnOffValue
    Get
    Set
'Usage
Dim instance As DocPartTypes
Dim value As OnOffValue

value = instance.All

instance.All = value
[SchemaAttrAttribute(, "all")]
public OnOffValue All { get; set; }

Property Value

Type: DocumentFormat.OpenXml.OnOffValue
Returns EnumValue<T>.

Remarks

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

Specifies that the current glossary document is all types. This attribute shall override any information specified as child elements of this element and shall ensure that the current entry is associated with all available types.

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

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

<w:docPartPr>
  <w:types w:all="true">
    <w:type w:val="autoExp" />
  </w:types>
  …
<w:docPartPr>

The types element contains a single entry type definition, but because the all attribute is present with a value of true, that type is augmented to place the parent entry into all possible types.

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

See Also

Reference

DocPartTypes Class

DocPartTypes Members

DocumentFormat.OpenXml.Wordprocessing Namespace