Property Collections

Many properties of WinSCP assembly classes return read-only collections. While in .NET it would be natural to use generic class/interface for such property, it would prohibit access to such properties via COM interop. For this reason, there are special classes for collections for every element type needed by assembly interface.

All these collections implement System.Collections.ICollection<T> interface and indexer (both are implemented in a read-only manner).

Advertisement

Last modified: by martin