OnOffType.Val Property

value.Represents the attribte in schema: m:val

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

Syntax

'Declaration
<SchemaAttrAttribute(, "val")> _
Public Property Val As EnumValue(Of BooleanValues)
    Get
    Set
'Usage
Dim instance As OnOffType
Dim value As EnumValue(Of BooleanValues)

value = instance.Val

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

Property Value

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

Remarks

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

Specifies a binary value for the property defined by the parent XML element.

A value of on specifies that the property shall be explicitly applied. This is the default value for this attribute, and is implied when the parent element is present.

A value of off specifies that the property shall be explicitly turned off. This is implied when the parent element is not present.

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

See Also

Reference

OnOffType Class

OnOffType Members

DocumentFormat.OpenXml.Math Namespace