IRubricatorValidationsLookup.Current

Syntax

Current: IValidationExecData;

Description

The Current property returns the current object in a cursor.

Example

Executing the example requires that the repository contains a time series database with the OBJ_RUBRICATOR identifier.

Sub Main;

Var

MB: IMetabase;

RubInst: IRubricatorInstance;

Loo: IRubricatorValidationsLookup;

Begin

MB := MetabaseClass.Active;

RubInst := mb.ItemById("OBJ_RUBRICATOR").Open(Null) As IRubricatorInstance;

Loo := RubInst.CreateValidationsLookup;

Loo.Open(DictionaryCursorOptions.None);

While Loo.Eof = False Do

Debug.WriteLine("Validation execution key" + Loo.Current.Key.ToString +" ; Validation key" + Loo.Current.ValidationKey.ToString);

Loo.Next;

End While;

Loo.Close;

End Sub Main;

After executing the example information about validations execution is displayed in the console window.

See also:

IRubricatorValidationsLookup