getVersion

Return the version number of the IDE Menu Plug-In API used by this component.

public operation getVersion 
  params
    string pApiVersion: out
  endparams
		
  pApiVersion=1
		
  return 0
end; operation getVersion

Parameters

pApiVersion—version number of Menu Plug-In API that you have programmed for. The current version is 1.

Description

The getVersion operation ensures that Uniface can enhance the API, adding functions or changing interfaces, without affecting components that implement an earlier version.

When the API is enhanced with new or modified interface functions, the version number is increased accordingly.