Retrieve only custom columns for a document library?
SPFieldCollection fields = documentLibrary.Fields;
foreach (SPField field in fields)
{
//do something
}
I get a lot of fields which are default for every document library. What I would like to do is retrieve only the fields or columns that I have defined and not the rest. Is there any way to do this using the WSS object model. Thanks in advance.

