IDirectory interface

Defines the contract for managing a directory in the ASNA DataGate client.

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

Extends: IAdgObject, IComparable, IConnectionHandler, IDisposable

In DG implementations of IDirectory , instance members are not guaranteed to be thread safe.

Remarks

This interface provides properties and methods to manage a directory in the ASNA DataGate client. It includes properties to get the list of items in the directory, the remote path name of the directory, and the enumerator for the directory. It also provides methods to attach a remote directory, create a subdirectory, enumerate the items in the directory, repair the objects in the directory, and enumerate the items in the directory using specified file types.



Properties

Type Name Description
IEnumerable Enumerator Gets the enumerator for the directory.
ArrayList ItemList Gets the list of items in the directory. This property is obsolete, use ‘Items’ instead.
List<IAdgObject> Items Gets the list of items in the directory.
String RemotePathName Gets the remote path name of the directory.

Methods

Signature Description
AttachRemoteDirectory(String) Attaches a remote directory to the current directory.
CreateSubDirectory(String) Creates a subdirectory in the current directory.
Enumerate(AdgEnumerator) Enumerates the items in the directory using the specified enumerator.
Enumerate(AdgEnumerator, FileTypes, Boolean) Enumerates the items in the directory using the specified enumerator and file types.
RepairObjects(RepairOptions, AdgObserver) Repairs the objects in the directory using the specified repair options and observer.