IMetabaseObjectDescriptor.Timestamp

Syntax

Timestamp: DateTime;

Timestamp: System.DateTime;

Description

The Timestamp property returns date and time of the last saving of the repository object.

Example

Executing the example requires that the repository contains an object with the FOLDER2 identifier.

Add a link to the Metabase system assembly.

Sub UserProc;
Var
    MB: IMetabase;
    Desc: IMetabaseObjectDescriptor;
    Date: Datetime;
Begin
    MB := MetabaseClass.Active;
    Desc := Mb.ItemById("FOLDER2");
    Date := Desc.Timestamp;
End Sub UserProc;
Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Desc: IMetabaseObjectDescriptor;
    Date: Datetime;
Begin
    MB := Params.Metabase;
    Desc := Mb.ItemById["FOLDER2"];
    Date := Desc.Timestamp;
End Sub;

After executing this example the Date variable contains date and time of the last saving of the object of the metadata base.

See also:

IMetabaseObjectDescriptor