IVersion

class IVersion

Bases: ImpactCOMWrapperBase

Summary:

Represents the current version of the application.

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

property as_string

Gets as_string.

Summary:

Provides the version number as a string, for example “12.34.56.78”

Returns:

The value of as_string.

Return type:

as_string (str)

property build_as_string

Gets build_as_string.

Summary:

Provides the maintenance release and build numbers as a string, for example “56.78”

Remarks:

Introduced in Impact 9.0.0.66.

Returns:

The value of build_as_string.

Return type:

build_as_string (str)

property name

Gets Name.

Summary:

Gets a formatted name for the version.

Remarks:

The version string may include information such as the major product version and service pack version.

Returns:

The value of Name.

Return type:

name (str)

property number1

Gets Number1.

Summary:

The first version number.

Returns:

The value of Number1.

Return type:

number1 (int)

property number2

Gets Number2.

Summary:

The second version number.

Returns:

The value of Number2.

Return type:

number2 (int)

property number3

Gets Number3.

Summary:

The third version number.

Returns:

The value of Number3.

Return type:

number3 (int)

property number4

Gets Number4.

Summary:

The fourth version number.

Returns:

The value of Number4.

Return type:

number4 (int)

property version_as_string

Gets version_as_string.

Summary:

Provides the major and minor release numbers as a string, for example “12.34”

Remarks:

Introduced in Impact 9.0.0.66.

Returns:

The value of version_as_string.

Return type:

version_as_string (str)

isNone()

Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.

Examples