Last active
May 31, 2017 14:42
-
-
Save gitmatheus/edacc1c487ccbf02fc728e35bbad2059 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SObject[] sObjectCustomObject = new SObject[]{ new Custom_Object__c(Name = 'Custom Object Name') }; | |
processCustomObject(sObjectCustomObject); | |
private void processCustomObject(SObject[] customObjects) { | |
for (Custom_Object__c obj : customObjects) System.debug(obj.Name); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment