共用方式為


AutoLinkComparison Element

Defines a rule that compares a column in the parent DataRecordset element with a shape data item from the last successful automatic linking action performed in the user interface.

Syntax

<AutoLinkComparison
    ColumnName
    ContextType
    [ContextTypeLabel]>
</AutoLinkComparison>

Attributes

ColumnName

Required string. Corresponds to a column name in the ADO recordset.

ContextType

Required unsigned integer. Specifies properties of the group or shape to use for the comparison. Possible values are shown in the following table.

Value

Description

1

Shape text

2

Shape-data-item (custom property) label

3

User cell local row name

4

Geometry angle

5

Geometry width

6

Geometry height

7

Shape ID

8

Master name

9

Shape local name

10

Shape type

11

Data1

12

Data2

13

Data3

ContextTypeLabel

Optional string. If the ContextType value is 2 or 3, this attribute is required to define a comparison. For ContextType = 2, ContextTypeLabel must be the shape data item label, and if ContextType = 3, ContextTypeLabel must be the local row name.

Element properties

Property

Value

Name

AutoLinkComparison

Minimum Occurrences

0

Maximum Occurrences

1

Element information

Parent elements

VisioDocument

DataRecordsets

DataRecordSet

Child elements

None

See also

AutomaticLink method.