Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

convert SPFieldType to Copy.asmx FieldType

$
0
0

How do you convert a SPFieldType to a Copy.asmx FieldType?

I'm trying something like this, but with zero luck.

fieldInfo = new CopyWebServ.FieldInformation();
SPFieldType spType = item.Fields[sConfigField].Type;

.......

fieldInfo.Type = spType;

Error:

Cannot implicitly convert type 'Microsoft.SharePoint.SPFieldType' to 'projectName.CopyWebServ.FieldType'. An explicit conversion exists (are you missing a cast?)



www.SharePointed.com


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>