<update> Element (Office Development in Visual Studio)

The update element specifies the interval at which the solution will check for updates.

<update
  enabled>
  <expiration
    maximumAge
    unit
  />
</update>

The update element is required and is in the vstav3 namespace.

The update element has the following attributes.

Attribute

Description

enabled

Required. Set enabled to one of the following values:

  • true to check for updates.

  • false to prevent checking for updates.

The update element has the following child elements.

The expiration element is required and is in the vstav3 namespace. This element specifies the interval at which the solution checks for updates.

The expiration element has the following attributes.

Attribute

Description

maximumAge

  • Required. Set this equal to an integer.

unit

Required. Set unit to one of the following values:

  • hours

  • days

  • weeks

The following code example illustrates an update element that is set to always check for updates in Office solutions.

<vstav3:update enabled="true" />

The following code example illustrates an update element in an application manifest for Office solutions. This code example is part of a larger example provided in Application Manifests for Office Solutions.

<vstav3:update enabled="true">
    <vstav3:expiration maximumAge="7" unit="days" />
</vstav3:update>
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft