BasePropertyToString(StringBuilder) Method

This is used to convert the property instance to a format suitable for writing to a PDI data stream

Definition

Namespace: EWSoftware.PDI.Properties
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public void ToString(
	StringBuilder sb
)

Parameters

sb  StringBuilder
The StringBuilder to which the formatted text is appended

Remarks

This version is called by ToString as well as owning objects when they convert themselves to a string for writing to a PDI data stream. If the value of the property is null or an empty string, it will not append itself as there is nothing to specify.

Properties use a StringBuilder to convert themselves to a string rather than writing directly to the TextWriter as they may need to manipulate the string to fold lines, etc.

See Also