CheckOffice2007Document Class

CheckOffice2007Document Class

 

Defines an MSBuild task that determines whether a customized document in the 2007 Microsoft Office system should be generated. This class cannot be inherited.

Namespace:   Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly:  Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)

System.Object
  Microsoft.Build.Utilities.Task
    Microsoft.VisualStudio.Tools.Office.BuildTasks.BuildTask
      Microsoft.VisualStudio.Tools.Office.BuildTasks.CheckOffice2007Document

[ComVisibleAttribute(false)]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class CheckOffice2007Document : BuildTask

NameDescription
System_CAPS_pubmethodCheckOffice2007Document()

Initializes a new instance of the CheckOffice2007Document class.

NameDescription
System_CAPS_pubpropertyBuildEngine

(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine2

(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine3

(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine4

(Inherited from Task.)

System_CAPS_pubpropertyDeploymentManifest

Gets or sets the relative or fully qualified path of the deployment manifest.

System_CAPS_pubpropertyDestinationDocument

Gets or sets the relative or fully qualified path of the customized document that is created by calling Execute.

System_CAPS_pubpropertyDocumentCustomization

Gets or sets the relative or fully qualified path of the customization assembly.

System_CAPS_pubpropertyHostObject

(Inherited from Task.)

System_CAPS_pubpropertyLog

(Inherited from Task.)

System_CAPS_pubpropertyRecustomizeDocument

Gets a value that indicates whether any Office customization assemblies or documents in a document-level project have changed.

System_CAPS_pubpropertySourceDocument

Gets or sets the relative or fully qualified path of the version of the document that is in the project folder.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecute()

Determines whether a customized document in the 2007 Microsoft Office system should be generated.(Overrides Task.Execute().)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Set all of the CheckOffice2007Document properties, and then call Execute to run this build task.

CheckOffice2007Document checks to see whether a customized document requires updating. To generate a new version of the customized document after you have changed the source document, deployment manifest, or customization assembly, use CustomizeOffice2007Document.

The Microsoft Build Engine uses Microsoft.VisualStudio.Tools.Office.BuildTasks to build and deploy Office solutions. However, you can create your own build system by using these classes and the MSBuild XML-based project files. For more information, see MSBuild Reference.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft