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
ifthikar Ahmed 1ifthikar Ahmed 1 

when to use DescribeFieldResult , DescribeSObjectResult ,Schema.SObjectType

i am new and can some explain when to use DescribeFieldResult ,  DescribeSObjectResult ,Schema.SObjectType 
Nubes Elite Technologies Pvt. LtdNubes Elite Technologies Pvt. Ltd
Hi Ifthikar,

DescribeFieldResult - Contains methods for describing sObject fields. ( For further reference you can refer : this ( )

DescribeSObjectResult - Contains methods for describing sObjects. None of the methods take an argument. ( For further reference you can refer : this ( )

Schema.SObjectType - A Schema.sObjectType object is returned from the field describe result using the getReferenceTo method, or from the sObject describe result using the getSObjectType method. ( For further reference you can refer : this ( )

Thank You,
Development | Training | Consulting

Please mark this as solution if your problem is solved.