this code throws an exeption: (System.ArgumentException)Message "Value
does not fall within the expected range."
siteCollection.AllWebs[0].Lists[j].Fields.Delete(siteCollection.AllWebs[0].Lists[j].Fields[i].Title);
and this code throws this
exception:(Microsoft.SharePoint.SPException) _message "Cannot change
Hidden attribute for this field" string
siteCollection.AllWebs[0].Lists[j].Fields[i].Hidden = true;
just for the record, there us no problem with the enumerations (i,j)
and the field "title" does have a value (and the correct one too).
this does not happen with the property ReadOnlyField... !?
if some one knows why.... i'd like to know!
:) thanks a bunch.
Tomer.