예제 #1
0
        public PropertyDescriptorCollection GetProperties()
        {
            PropertyDescriptorCollection pds = new PropertyDescriptorCollection(null);

            for (int i = 0; i < this.List.Count; i++)
            {
                UserDataCollectionPropertyDescriptor pd = new UserDataCollectionPropertyDescriptor(this, i);
                pds.Add(pd);
            }
            return(pds);
        }
예제 #2
0
 public PropertyDescriptorCollection GetProperties()
 {
     PropertyDescriptorCollection pds = new PropertyDescriptorCollection(null);
     for (int i = 0; i < this.List.Count; i++)
     {
         UserDataCollectionPropertyDescriptor pd = new UserDataCollectionPropertyDescriptor(this, i);
         pds.Add(pd);
     }
     return pds;
 }