Share via


ForEachEnumerator.Version Property

Definition

Returns the version number of the package. This property is read-only.

public:
 virtual property int Version { int get(); };
public virtual int Version { get; }
member this.Version : int
Public Overridable ReadOnly Property Version As Integer

Property Value

An Integer that contains the package version number.

Remarks

The version in the package is reviewed, and if the version number is less than the current version in the runtime, the package XML is replaced with the new, updated package XML.

Applies to