Skip to content

ColumnDefinition Class

Definition of a table’s column.

MethodDescription
CompareTo(other)Compare this column definition to another column definition.
PropertyDescription
AddedGets whether this column was added via a transform.
CategoryGets the validation category for this column.
DescriptionGets the description for this column.
IsLocalizableGets if the column is localizable. Can be because the type is localizable, or because the column was explicitly set to be so.
KeyColumnGets the foreign key column that this column refers to.
KeyTableGets the table that has the foreign key for this column
LengthGets the length of the column.
MaxValueGets the maximum value for the column.
MinValueGets the minimum value for the column.
ModularizeTypeGets the type of modularization for this column.
NameGets the name of the column.
NullableGets if the column is nullable.
PossibilitiesGets the set of possibilities for this column.
PrimaryKeyGets if the column is a primary key.
TypeGets the type of the column.
UnrealGets if column is Unreal.
UseCDataGets if whitespace should be preserved in a CDATA node.
WixToolset.Data.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

Compare this column definition to another column definition.

public int CompareTo(
ColumnDefinition other
)
ParameterTypeDescription
otherColumnDefinitionThe to compare with this one.

int 0 if the columns’ core propeties are the same; otherwise, non-0.

Only Windows Installer traits are compared, allowing for updates to WiX-specific table definitions.

Gets whether this column was added via a transform.

public bool Added { get; set; }

Gets the validation category for this column.

public ColumnCategory Category { get; set; }

Gets the description for this column.

public string Description { get; set; }

Gets if the column is localizable. Can be because the type is localizable, or because the column was explicitly set to be so.

public bool IsLocalizable { get; set; }

Gets the foreign key column that this column refers to.

public System.Nullable<System.Int32> KeyColumn { get; set; }

Gets the table that has the foreign key for this column

public string KeyTable { get; set; }

Gets the length of the column.

public int Length { get; set; }

Gets the maximum value for the column.

public System.Nullable<System.Int64> MaxValue { get; set; }

Gets the minimum value for the column.

public System.Nullable<System.Int64> MinValue { get; set; }

Gets the type of modularization for this column.

public ColumnModularizeType ModularizeType { get; set; }

Gets the name of the column.

public string Name { get; set; }

Gets if the column is nullable.

public bool Nullable { get; set; }

Gets the set of possibilities for this column.

public string Possibilities { get; set; }

Gets if the column is a primary key.

public bool PrimaryKey { get; set; }

Gets the type of the column.

public ColumnType Type { get; set; }

Gets if column is Unreal.

public bool Unreal { get; set; }

Gets if whitespace should be preserved in a CDATA node.

public bool UseCData { get; set; }