IFileAdapter interface | QSYS API Reference Guide

Provides an interface for file operations.

Namespace: ASNA.DataGate.Providers Assembly: ASNA.QSys.DataGate.Client.dll

Extends: doesn’t extend any other interfaces.

Properties

Type Name Description
AccessMode AccessMode Gets or sets the access mode for the file.
String FileName Gets or sets the name of the file.
String MemberName Gets or sets the name of the member.
FileOpenAttr OpenAttributes Gets or sets the attributes for opening the file.

Methods

Signature Description
Open(AdgDataSet) Opens the file with the specified dataset.
ReadSequentialEqual(AdgDataSet, ReadSequentialMode, LockRequest) Reads the file sequentially with the specified dataset, read mode, and lock request.

void Open(AdgDataSet ds)

Opens the file with the specified dataset.

void Open(AdgDataSet ds)

Parameters

Type Parameter name Description
AdgDataSet ds The dataset to use when opening the file.

void ReadSequentialEqual(AdgDataSet ds, ReadSequentialMode rm, LockRequest lr)

Reads the file sequentially with the specified dataset, read mode, and lock request.

void ReadSequentialEqual(AdgDataSet ds, ReadSequentialMode rm, LockRequest lr)

Parameters

Type Parameter name Description
AdgDataSet ds The dataset to use when reading the file.
ReadSequentialMode rm The read mode to use when reading the file.
LockRequest lr The lock request to use when reading the file.