Jaa


TextIo.outRecordDelimiter Method

Definition

Overloads

outRecordDelimiter()

Gets or sets the character that is used for the record delimiter of an output file represented by a TextIO object.

outRecordDelimiter(String)

outRecordDelimiter()

Gets or sets the character that is used for the record delimiter of an output file represented by a TextIO object.

public:
 override System::String ^ outRecordDelimiter();
public override string outRecordDelimiter ();
override this.outRecordDelimiter : unit -> string
Public Overrides Function outRecordDelimiter () As String

Returns

The character used as the record delimiter.

Remarks

To set the record delimiter for an input file, use the .

The following example sets the record delimiter for an output file to '\r\n'.

void defineFile() 
{ 
    diskFile = new TextIo(diskFileName,'W'); 
    if (!diskFile) 
    { 
        throw error("@SYS26757"); 
    } 
    diskFile.outRecordDelimiter('\r\n'); 
    diskFile.outFieldDelimiter(''); 
}

Applies to

outRecordDelimiter(String)

public:
 override System::String ^ outRecordDelimiter(System::String ^ _value);
public override string outRecordDelimiter (string _value);
override this.outRecordDelimiter : string -> string
Public Overrides Function outRecordDelimiter (_value As String) As String

Parameters

_value
String

The character to be used as the record delimiter; optional.

Returns

Applies to