DependencyVersionFromArray Method

Constructs a DependencyVersion instance from array of parts.

Definition

Namespace: SMath.Extensibility.Setup
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.74.9654.0
C#
public static DependencyVersion FromArray(
	params int[] partValues
)

Parameters

partValues  Int32
Values of the parts. The length of partValues must be 1, 2, 3, or 4; this number may be greater than the number of existing parts, but in that case the array values must be Empty starting from the first missing part.

Return Value

DependencyVersion
The constructed instance.

Exceptions

ArgumentException Thrown when the elements of partValues are wrong.

See Also