WriterCreateCFFStream(String, Schema, String, String, Encoding) Method
Creates a new Combined File Format (.cff) COMTRADE file stream.
Namespace: Gemstone.COMTRADEAssembly: Gemstone.COMTRADE (in Gemstone.COMTRADE.dll) Version: 1.0.128 -- Release Build+c1068d6f7b1cbea5c860803b7fe23d1a1d3918a0
Public Shared Function CreateCFFStream (
fileName As String,
schema As Schema,
Optional infLines As String() = Nothing,
Optional hdrLines As String() = Nothing,
Optional encoding As Encoding = Nothing
) As FileStream
Gemstone.COMTRADE.Writer.CreateCFFStream = function(fileName, schema, infLines, hdrLines, encoding);
- fileName String
- Target file name. Must have ".cff" extension.
- schema Schema
- Schema of file stream.
- infLines String (Optional)
- Lines of "INF" section to write to stream, if any.
- hdrLines String (Optional)
- Lines of "HDR" section to write to stream, if any.
- encoding Encoding (Optional)
- Target encoding; null value will default to UTF-8 (no BOM).
FileStreamNew file stream for Combined File Format (.cff) COMTRADE file, ready to write at data section.