fd6deaef c2f4 6a0b 9544 4c5e42307829 - akesseler/Plexdata.CsvParser GitHub Wiki
Serializes the content of provided CsvContainer into a string.
Namespace: Plexdata.CsvParser.Extensions
Assembly: Plexdata.CsvParser.NET (in Plexdata.CsvParser.NET.dll) Version: 1.1.3+d5bef99aa35461ce4bafadf0bf2c2aeca18044ea
C#
public static string Serialize(
this CsvContainer container
)
- container
- Type: Plexdata.CsvParser.Processors.CsvContainer
The container to be serialized.
Type: String
A string representing the content of provided container. The result string might be empty, for example if container is null
or empty
.
In Visual Basic and C#, you can call this method as an instance method on any object of type CsvContainer. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exception | Condition |
---|---|
Exception | Any other exception that might be thrown by Write(CsvContainer, Stream, CsvSettings). |
This extension method serializes the content of provided container into a string.
A new settings instance is created which is partially overwritten by some of the container settings subsequently. All other settings items keep their original values.
CsvContainerExtension Class
Serialize Overload
Plexdata.CsvParser.Extensions Namespace
CsvContainerExtension.Serialize(CsvContainer, CsvSettings)
CsvWriter.Write(CsvContainer, Stream, CsvSettings)