Why oh why don't your collection classes have a Contains() method across the board? I can't tell you how dirty I feel every time I have to loop through a collection to find out if a particular Field or Group or List already exists. It just feels wrong and it clutters up my code. ![]()
Honestly though, if I could have a single request granted, it would be that all collection classes in the SharePoint object model implement a Contains method.
{ 2006 06 21 }
Post a Comment