Dictionary class

The resources in a dictionary are accessed through a single class that is available after you add the reference to the dictionary's application assembly. The class has the same name that appears in the application assembly. For instance, the class to access resources for the Dynamics dictionary is named Dynamics. Similarly, the class used to access resources for the Sample Integrating Application is named SampleIntegratingApp. This is the same name that appears in the application assembly, Application.SampleIntegratingApp.dll.

The five primary resource types in a dictionary are accessed through properties of the class. These resource types are:

  • Forms
  • Globals
  • Procedures
  • Functions
  • Tables

To access a resource of the specific type, start by typing the dictionary class name, and then property for the resource type. IntelliSense in Visual Studio will present a list of the specific type of resources available in the dictionary. For example, the following illustration shows the forms resources in the Dynamics core application.

Cc543568.VSTDGP_IntelliSenseResourceLookup(en-us,MSDN.10).gif

When you've selected a resource of the specific type, you will see a list of the properties, methods, and events available for that resource. The following illustration shows some of the properties, methods, and events for the AboutBox form in the Dynamics dictionary.

Cc543568.VSTDGP_FormPropsMethodsEvents(en-us,MSDN.10).gif