We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

VCPreBuildEventTool Interface

Programmatically accesses the properties on the Pre-Build Event property page, in the Build Events folder in a project's Property Pages dialog box.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

public interface VCPreBuildEventTool

The VCPreBuildEventTool type exposes the following members.

Public propertyCommandLineGets or sets a command line for the build event tool to run.
Public propertyDescriptionGets or sets a string that represents the description for the object.
Public propertyExcludedFromBuildGets or sets a value indicating whether this item is excluded from the build.
Public propertyExecutionBucketInfrastructure. Microsoft Internal Use Only.
Public propertyToolKindGets the name of the kind of tool this is.
Public propertytoolNameGets the name of the specified tool.
Public propertyToolPathGets the path to the specified tool.
Public propertyVCProjectEngineGets a pointer to the project engine.

See Working with Project Properties for information about accessing a project's Property Pages dialog box.