Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Is there anyway to reflect the properties of a custom class [like the output of system.debug(myClass);] into a string variable.
Thought this didn't work before but I just checked and works now.
string reflection = String.valueOf(new MyClass());
Thought this didn't work before but I just checked and works now.
string reflection = String.valueOf(new MyClass());