c# - Do you have to dispose the following SharePoint objects? -
i wanted make sure there's no memory leak in sharepoint need call dispose following sharepoint objects once i'm done? i'm thinking shouldn't have since i'm not creating new , using getcurrent(), sharepoint it's hard tell.
microsoft.sharepoint.webcontrols.siteactions siteactions = siteactions.getcurrent(this.page); microsoft.sharepoint.webcontrols.pagestateactionbutton psab = pagestateactionbutton.getcurrent(this.page); microsoft.sharepoint.webcontrols.spribbon ribbon = microsoft.sharepoint.webcontrols.spribbon.getcurrent(this.page);
Comments
Post a Comment