function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
china.leafchina.leaf 

How to get the field type in C#?

for example:AutoNumber, Checkbox,DateTime,…… and so on.

thank you very much!
werewolfwerewolf
You can do that by calling describeSObject and finding that field in the fields array of the returned DescribeSObjectResult

http://www.salesforce.com//us/developer/docs/api/Content/sforce_api_calls_describesobjects_describesobjectresult.htm#i1427375.