|
WriterCreateCFFStream(String, Schema, String, String, Encoding) Method
|
Creates a new Combined File Format (.cff) COMTRADE file stream.
Namespace: GSF.COMTRADEAssembly: GSF.COMTRADE (in GSF.COMTRADE.dll) Version: 2.4.207-beta
Syntax 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
static member CreateCFFStream :
fileName : string *
schema : Schema *
?infLines : string[] *
?hdrLines : string[] *
?encoding : Encoding
(* Defaults:
let _infLines = defaultArg infLines null
let _hdrLines = defaultArg hdrLines null
let _encoding = defaultArg encoding null
*)
-> FileStream
GSF.COMTRADE.Writer.CreateCFFStream = function(fileName, schema, infLines, hdrLines, encoding);
View SourceParameters
- 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).
Return Value
FileStreamNew file stream for Combined File Format (.cff) COMTRADE file, ready to write at data section.
See Also