Thursday, June 12, 2014

How to convert from sObject to String using Salesforce Apex Class?

How to convert from sObject to String using Salesforce Apex Class?


To convert sObject to String in Apex, below i s the example,

Example:
public sObject searchContact;
String strObjType = String.valueOf(searchContact);





2 comments:

Unknown said...

how to convert string value to its corresponding object

Unknown said...

Excellent…Amazing…. I’m satisfied to find so many helpful information here within the put up,for latest php jobs in near me. we want work out extra strategies in this regard, thanks for sharing.

Post a Comment

 
| ,