共用方式為


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)

Syntax

'宣告
<GuidAttribute("822CDA87-6D34-43D4-89E6-18A48CC9E3C1")> _
Public Interface VCPreBuildEventTool
[GuidAttribute("822CDA87-6D34-43D4-89E6-18A48CC9E3C1")]
public interface VCPreBuildEventTool
[GuidAttribute(L"822CDA87-6D34-43D4-89E6-18A48CC9E3C1")]
public interface class VCPreBuildEventTool
[<GuidAttribute("822CDA87-6D34-43D4-89E6-18A48CC9E3C1")>]
type VCPreBuildEventTool =  interface end
public interface VCPreBuildEventTool

The VCPreBuildEventTool type exposes the following members.

Properties

  Name Description
Public property CommandLine Gets or sets a command line for the build event tool to run.
Public property Description Gets or sets a string that represents the description for the object.
Public property ExcludedFromBuild Gets or sets a value indicating whether this item is excluded from the build.
Public property ExecutionBucket Infrastructure. Microsoft Internal Use Only.
Public property ToolKind Gets the name of the kind of tool this is.
Public property toolName Gets the name of the specified tool.
Public property ToolPath Gets the path to the specified tool.
Public property VCProjectEngine Gets a pointer to the project engine.

Top

Remarks

See Modifying Project Settings for information about accessing a project's Property Pages dialog box.

See Also

Reference

Microsoft.VisualStudio.VCProjectEngine Namespace

Other Resources

Specifying Build Events