Partilhar via


CommaTextIo.read Method

Definition

Reads the next full record from the Io object.

public:
 override cli::array <System::Object ^> ^ read();
public override object[] read ();
override this.read : unit -> obj[]
Public Overrides Function read () As Object()

Returns

Object[]

A container that holds the next full record from the Io object.

Remarks

The definition of the next full record is controlled by the inFieldDelimiter, inRecordDelimiter, and inRecordLength method properties. The record is returned as a container. Each entry in the container equals one field in the record. Each specialized Io class has default settings for the inFieldDelimiter, inRecordDelimiter, and inRecordLength properties. These default settings enable input and output in the most common formats. However, you might have to adjust these settings to support the desired format.

Applies to