| Visual Basic | |
|---|---|
Sub VerifyVersion( _ ByVal lMajor As System.Integer, _ ByVal lMinor As System.Integer _ ) | |
Parameters
- lMajor
- Minimum major version number
- lMinor
- Minimum minor version number
Add-ins that depend on a specific SOLIDWORKS PDM Professional version should make themselves impossible to install on earlier versions of SOLIDWORKS PDM Professional. To do this, set the minimum version of SOLIDWORKS PDM Professional in mlRequiredVersionMajor and mlRequiredVersionMinor of the EdmAddInInfo structure that is passed as a parameter in IEdmAddIn5::GetAddInInfo.
- S_OK: The method successfully executed.
- E_EDM_UNSUPPORTED_PROGRAM_VERSION: The installed program is at a version level that is lower than the specified version.
SOLIDWORKS PDM Professional Version 5.2