siteCollection.AllWebs: Returns all the webs within site collection,It is a sharepoint property. for example If you wish to inherit same master page in all subsite in site collection, you can use this property.
siteCollection.OpenWeb: It is method and take SPWeb as parameter. It used to access particular web within site collection.
Learn Programming Fundamentals
10 months ago
No comments:
Post a Comment