Share via


SharedResources Collection

Represents the collection of shared resources in the database.

Version Information

추가된 버전: Access 2010

Remarks

The SharedResources collection contains Microsoft Office themes and images that are stored once, but used throughout the database.

For example, you may want to display your company logo on every form that you create. In earlier versions of Access, you had to import the logo into every form. In Microsoft Access 2010, you can add the logo as a shared image. Then , it will be displayed in the Image Gallery that is displayed when you click the Insert Image dropdown menu for the Controls group in the Design tab.

Use the Resources property of the CodeProject object or the Resources property of the CurrentProject object to enumerate the SharedResources collection.

To import an image as a SharedResource object, use the AddSharedImage method of the CodeProject object or the AddSharedImage method of the CurrentProject object.

참고 항목

개념

SharedResources Object Members

Access Object Model Reference