示例#1
0
        protected override Type CreateCollectionItemType()
        {
            // return the type of the elements in the list.
            // need to find the generic type of the collection.
            DataSetCollection dataSets = (DataSetCollection)this.Context.PropertyDescriptor.GetValue(this.Context.Instance);

            return(dataSets.CreateDataSet("").GetType());
        }