Share via


BinaryIo.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. Every specialized Io class has default settings for the inFieldDelimiter, inRecordDelimiter, and inRecordLength properties. These default settings enable input and output of the most common formats. You might have to adjust these settings to support the format that you want to use.

Applies to