共用方式為


OnOffType.Val Property

Definition

value

Represents the following attribute in the schema: m:val

[DocumentFormat.OpenXml.SchemaAttr(21, "val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.BooleanValues> Val { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.BooleanValues> Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(21, "val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.BooleanValues>? Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("m:val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.BooleanValues>? Val { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.BooleanValues>? Val { get; set; }
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.BooleanValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(21, "val")>]
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.BooleanValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("m:val")>]
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.BooleanValues> with get, set
Public Property Val As EnumValue(Of BooleanValues)

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 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.

Applies to