Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.45 KB

File metadata and controls

47 lines (37 loc) · 1.45 KB
title description ms.author ms.date ms.topic author ms.reviewer
MediaSet.Item(Integer) Method
Gets the unique identifier (GUID) of a media object that is assigned to a MediaSet on a record.
solsen
05/14/2024
reference
SusanneWindfeldPedersen
solsen

MediaSet.Item(Integer) Method

Version: Available or changed with runtime version 1.0.

Gets the unique identifier (GUID) of a media object that is assigned to a MediaSet on a record.

Syntax

MediaId :=   MediaSet.Item(Index: Integer)

Parameters

MediaSet
 Type: MediaSet
An instance of the MediaSet data type.

Index
 Type: Integer
Specifies the index number that is assigned to the media object in the MediaSet.

Return Value

MediaId
 Type: Guid
The unique identifier (GUID) of the media object.

Example

For an example of using the Item method, see this example.

See Also

MediaSet Data Type
Get Started with AL
Developing Extensions