IDataCollection Interface
System.Runtime.Serialization
Represents a data collection that can be serialized and deserialized.
This interface is used by data contract serializers to represent collections of data.
public interface IDataCollection
Syntax
public interface IDataCollection : System.Collections.IEnumerable
Members
Remarks
The IDataCollection interface provides a contract for data collections that can be used with the Data Contract Serializer. It inherits from System.Collections.IEnumerable, allowing iteration over the collection elements.
Implementations of this interface should provide support for adding, removing, and accessing elements within the collection.