次の方法で共有


Characteristic.Relation Property

Relationship of Value to Name.Represents the attribte in schema: relation

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

Syntax

'宣言
<SchemaAttrAttribute(, "relation")> _
Public Property Relation As EnumValue(Of RelationValues)
    Get
    Set
'使用
Dim instance As Characteristic
Dim value As EnumValue(Of RelationValues)

value = instance.Relation

instance.Relation = value
[SchemaAttrAttribute(, "relation")]
public EnumValue<RelationValues> Relation { get; set; }

Property Value

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

Remarks

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

Specifies how the contents of the value attribute should be interpreted in the context of this characteristic.

The following would specify that the application supports from 0 to 10,000 columns, and that column ranges should be interpreted accordingly:

<additionalCharacteristics>
  <characteristic name="numColumns" relation="le" val="10000"/>
  <characteristic name="numColumns" relation="ge" val="0"/>
</additionalCharacteristics>

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

See Also

Reference

Characteristic Class

Characteristic Members

DocumentFormat.OpenXml.AdditionalCharacteristics Namespace