Share via


Characteristic.Relation Property

Definition

Relationship of Value to Name

Represents the following attribute in the schema: relation

[DocumentFormat.OpenXml.SchemaAttr(0, "relation")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.AdditionalCharacteristics.RelationValues> Relation { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.AdditionalCharacteristics.RelationValues> Relation { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "relation")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.AdditionalCharacteristics.RelationValues>? Relation { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("relation")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.AdditionalCharacteristics.RelationValues>? Relation { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.AdditionalCharacteristics.RelationValues>? Relation { get; set; }
member this.Relation : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.AdditionalCharacteristics.RelationValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "relation")>]
member this.Relation : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.AdditionalCharacteristics.RelationValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("relation")>]
member this.Relation : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.AdditionalCharacteristics.RelationValues> with get, set
Public Property Relation As EnumValue(Of RelationValues)

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

Applies to