次の方法で共有


Behavior.Val Property

Insertion Behavior Value.Represents the attribte in schema: w:val

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

Syntax

'宣言
<SchemaAttrAttribute(, "val")> _
Public Property Val As EnumValue(Of DocPartBehaviorValues)
    Get
    Set
'使用
Dim instance As Behavior
Dim value As EnumValue(Of DocPartBehaviorValues)

value = instance.Val

instance.Val = value
[SchemaAttrAttribute(, "val")]
public EnumValue<DocPartBehaviorValues> Val { get; set; }

Property Value

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

Remarks

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

Specifies the insertion behavior which shall be associated with the current glossary document entry.

Consider the following WordprocessingML fragment for a glossary document entry's properties:

<w:docPartPr>
  <w:behaviors>
    <w:behavior w:val="content"/>
  </w:behavior>
</w:docPartPr>

The val attribute's value of content specifies that the insertion of this glossary document entry shall include only the content (the last paragraph in the part shall be merged into the current paragraph in the document).

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

See Also

Reference

Behavior Class

Behavior Members

DocumentFormat.OpenXml.Wordprocessing Namespace