sharepoint - Anybody has any ideas what exactly spWeb.Features.Add does? -


anybody know below code does?

spweb.features.add(guid, bool)

does use .xmls in template\features\<-myfeature-> install feature , activate it? or activate it? or else?

thanks!

the method specified activates feature specified id on specified spweb object. not install it. here msdn link.

it uses xml files in "template\features\<-myfeature->" folder when activate feature. if change file in folder won't see effect momentary because files cached. after changing files in feature folder need iisreset , activate feature in order see difference.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -