CheckOffice2007Document.Execute Method

Definition

Determines whether a customized document in the 2007 Microsoft Office system should be generated.

public:
 override bool Execute();
public override bool Execute ();
override this.Execute : unit -> bool
Public Overrides Function Execute () As Boolean

Returns

true if one of the conditions is met; otherwise, false. The default is true.

Remarks

This method returns true if one of the following conditions is met:

  • DeploymentManifest does not exist.

  • The document customization has been updated since the customized document was last created.

In addition, both of the following must be true:

  • The customization assembly exists at the path that is specified in the DocumentCustomization property.

  • The deployment manifest exists at the path that is specified in the DeploymentManifest property.

  • The source document exists at the path that is specified in the SourceDocument property.

Applies to