Hi Paul,
Here is a sample you can start with.
using(SPSite site = new SPSite(http://localhost;))
using (SPWeb web = site.OpenWeb())
{
ListSPField fieldsList = new ListSPField();
SPFieldCollection fieldsCollection =
); } }
Cheers,
From: Salman Ahmad
Sent: Thursday, November 03, 2011 11:24 AM
To: ozMOSS
Subject: Re: Return only spfields that are filterable
Hi Paul,
Here is a sample you can start with.
using(SPSite site = new SPSite(http://localhost;))
using
(field); } }
Cheers,
From: Salman Ahmadmailto:salman.ah...@msn.com
Sent: Thursday, November 03, 2011 11:24 AM
To: ozMOSSmailto:ozmoss@ozmoss.com
Subject: Re: Return only spfields that are filterable
Hi Paul,
Here is a sample you can start with.
using
*To:* ozMOSS
*Subject:* RE: Return only spfields that are filterable
** **
J Great. That’s exactly what I was after. Thank you!
One more question surrounding “using”. Whenever I use using I get web part
errors saying that the data has already been disposed. This usually occurs
when