MediaSet Data Type
Version: Available or changed with runtime version 1.0.
Encapsulates media, such as images, in application database tables.
The following methods are available on instances of the MediaSet data type.
|Count()||Gets the number of media objects that are included in the MediaSet of a record.|
|ExportFile(String)||Exports the media objects in the current media set of a record to individual files on your computer or network. In the record, the media set is referenced in a MediaSet data type field.|
|ImportFile(String, String [, String])||Adds a media, such as a JPEG image, to the MediaSet data type field of a record for displaying the media in the client. The media is imported to the database and included in a MediaSet for the record.|
|ImportStream(InStream, String [, String])||Adds a media file, such as a JPEG image, from an InStream object to the MediaSet of record for displaying in the client. The media is imported to the database and included in a MediaSet for the record.|
|Insert(Guid)||Adds a media object that already exists in the database to a MediaSet of a record.|
|Item(Integer)||Gets the unique identifier (GUID) of a media object that is assigned to a MediaSet on a record.|
|MediaId()||Gets the unique identifier that is assigned to a MediaSet of a record. The MediaSet is a collection of media objects that are used on the record that can be displayed in the client.|
|Remove(Guid)||Removes a media object from a MediaSet of a record.|