NOTE: This constructor is now obsolete.
Create a default CSV Record reader with a keyfield and file encoding.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New( _ ByVal filename As String, _ ByVal recKeyFieldNum As Integer, _ ByVal encoding As Encoding _ ) |
C# |
---|
public NetricsCSVRecSrc( string filename, int recKeyFieldNum, Encoding encoding ) |
C++ |
---|
public: NetricsCSVRecSrc( String filename, int recKeyFieldNum, Encoding encoding ) sealed |
J# |
---|
public NetricsCSVRecSrc( string filename, int recKeyFieldNum, Encoding encoding ) |
JScript |
---|
public function NetricsCSVRecSrc( filename : String, recKeyFieldNum : int, encoding : Encoding ) |
Parameters
- filename
- The name of the file containing the records.
- recKeyFieldNum
- The index (zero based) of the field.
- encoding
- The character encoding of the CSV file.
Remarks
This is for backward compatibility with previous versions. It is the same as: NetricsCSVRecSrc(new NetricsRecFile(file,recKeyFieldNum)).