Base PropertyTo String(String Builder) 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: 2025.1.9.0
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public void ToString(
StringBuilder sb
)VB
Public Sub ToString (
sb As StringBuilder
)C++
public:
void ToString(
StringBuilder^ sb
)F#
member ToString :
sb : StringBuilder -> unit 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.