CheckOffice2007Document.RecustomizeDocument Property (2007 System)
Gets a value that indicates whether any Visual Studio Tools for Office customization assemblies or documents in a document-level project have changed.
Namespace: Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly: Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)
Syntax
'Declaration
<OutputAttribute> _
Public ReadOnly Property RecustomizeDocument As Boolean
'Usage
Dim instance As CheckOffice2007Document
Dim value As Boolean
value = instance.RecustomizeDocument
[OutputAttribute]
public bool RecustomizeDocument { get; }
[OutputAttribute]
public:
property bool RecustomizeDocument {
bool get ();
}
public function get RecustomizeDocument () : boolean
Property Value
Type: System.Boolean
true if any conditions have changed since the previous build; otherwise, false. The default is false.
Remarks
If this property returns true, a new version of the customized document needs to be generated. To generate a new version of the customized document, use CustomizeOffice2007Document.
This property returns true if any of the following conditions have been met:
The destination document does not exist at the specified path.
The destination document is not customized.
The destination document has the old customization.
The source document has changed.
In addition, both of the following must be true:
The customization assembly exists and has not been moved.
The deployment manifest exists and has not been moved.
.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.