Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether a customized document in the 2007 Microsoft Office system should be generated.
Namespace:  Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly:  Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)
Syntax
'Declaration
Public Overrides Function Execute As Boolean
public override bool Execute()
Return Value
Type: System.Boolean
true if one of the conditions is met; otherwise, false. The default is true.
Implements
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. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.