You need to sign in to do that
Don't have an account?
Navneeth Raj
Invalid type: Schema.DescribeSObjectResult ERROR
public class SchemaExample {
public String result {get;set;}
public SchemaExample(){
5 Schema.DescribeSObjectResult rst=Account.SObjectType.getDescribe();
result='The obtained Result is:'+rst;
}
}
Error:Invalid type: Schema.DescribeSObjectResult @ LINE 5
public String result {get;set;}
public SchemaExample(){
5 Schema.DescribeSObjectResult rst=Account.SObjectType.getDescribe();
result='The obtained Result is:'+rst;
}
}
Error:Invalid type: Schema.DescribeSObjectResult @ LINE 5
where are u trying to use this; code is working fine on developer console .