.NET Windows Forms in a Nutshell

ITypedList

System.ComponentModel (system.dll) interface

This interface is implemented by classes that expose a typed list for data-binding scenarios. It provides a GetItemProperties( ) method to discover the properties of the list elements, rather than the properties of the container itself.

public interface ITypedList { // Public Instance Methods public PropertyDescriptorCollection GetItemProperties (PropertyDescriptor[] listAccessors ); public string GetListName (PropertyDescriptor[] listAccessors ); }

Категории