Table of Contents

Class ProjectConversionVariables

Namespace
combit.Reporting.ProjectConverter
Assembly
combit.ListLabel31.ProjectConverter.dll

Represents a set of ListLabel variables supplied to a project conversion to configure the internally used ListLabel instances.

public sealed class ProjectConversionVariables
Inheritance
ProjectConversionVariables
Inherited Members

Methods

Add(string, object)

Adds or replaces a variable whose field type is inferred from the .NET type of value. May also be used to set a project reference variable, but with a single value only. Use AddProjectReferenceVariable(string, List<string>) to supply multiple reference values.

public void Add(string name, object value)

Parameters

name string

The variable name.

value object

The variable value (for example a string, number, DateTime, image, or combit.Reporting.LlBarcode).

Add(string, string, LlFieldType)

Adds or replaces a string variable using an explicit field type.

public void Add(string name, string value, LlFieldType fieldType)

Parameters

name string

The variable name.

value string

The variable value as a string.

fieldType LlFieldType

The field type that determines how List & Label interprets value.

AddProjectReferenceVariable(string, List<string>)

Adds or replaces a project reference variable that carries multiple values. Unlike Add(string, object), which sets a single value, this supplies several reference values under one variable name. The converter loops through the values, applying the variable for each in turn to gather every referenced project for conversion.

public void AddProjectReferenceVariable(string name, List<string> values)

Parameters

name string

The variable name.

values List<string>

The list of values for the project reference variable.