共用方式為


VersionRange Element (Feature)

Applies to: SharePoint Foundation 2010

Specifies the upgrade actions for a version of the Feature.

<VersionRange 
  BeginVersion = string
  EndVersion = string>
  <AddContentTypeField />
  <ApplyElementManifests> ... </ApplyElementManifests>
  <CustomUpgradeActions> ... </CustomUpgradeActions>
  <MapFile />
</VersionRange>

Attributes

Attribute

Description

BeginVersion

Optional string. Specifies the earliest version number to upgrade.

EndVersion

Optional string. Specifies the latest version number to upgrade.

Child Elements

AddContentTypeField Element (Feature)

ApplyElementManifests Element (Feature)

CustomUpgradeAction Element (Feature)

MapFile Element (Feature)

Parent Elements

UpgradeActions Element (Feature)

Occurrences

Minimum: 0

Maximum: Unbounded