Newer Version Available

This content describes an older version of this product. View Latest

Programming Objects

Use programming objects to interact with programmatic artifacts: Apex, Visualforce, and Lightning.
ApexClass
Represents the saved copy of an Apex class. ApexClass uses the cached version of the class unless one is unavailable.
ApexClassMember
Represents the working copy of an Apex class for editing, saving or compiling in a MetadataContainer.
ApexComponent
Represents the saved copy of a Visualforce component. ApexComponent uses the cached version of the class unless one is unavailable.
ApexComponentMember
Represents the working copy of a Visualforce component for editing, saving, or compiling in a MetadataContainer.
ApexPage
Represents the saved copy of an Apex page. ApexPage uses the cached version of the class unless one is unavailable.
ApexPageMember
Represents the working copy of a Visualforce page for editing, saving, or compiling in a MetadataContainer.
ApexTrigger
Represents the saved copy of an Apex trigger. ApexTrigger uses the cached version of the class unless one is unavailable.
ApexTriggerMember
Represents the working copy of an Apex trigger for editing, saving, or compiling in a MetadataContainer.
AuraDefinition
Represents a Lightning definition, such as component markup, a client-side controller, or an event.
AuraDefinitionBundle
Represents a Lightning definition bundle, such as a component or application bundle. A bundle contains a Lightning definition and all its related resources. Lightning components is a beta feature.
StaticResource
Represents the working copy of a static resource file for editing or saving. Static resources allow you to upload content that you can reference in a Visualforce page, including images, stylesheets, JavaScript, and other files.