共用方式為


VCToolFile Interface

Gives access to custom build rules.

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

Syntax

'宣告
<GuidAttribute("401CC5AD-046D-4663-BC98-566183078A6D")> _
Public Interface VCToolFile
[GuidAttribute("401CC5AD-046D-4663-BC98-566183078A6D")]
public interface VCToolFile
[GuidAttribute(L"401CC5AD-046D-4663-BC98-566183078A6D")]
public interface class VCToolFile
[<GuidAttribute("401CC5AD-046D-4663-BC98-566183078A6D")>]
type VCToolFile =  interface end
public interface VCToolFile

The VCToolFile type exposes the following members.

Properties

  Name Description
Public property CustomBuildRules Gets the custom build rules for the project.
Public property Name Sets or gets the name of the tool file.
Public property Path Gets the path to the tool file.

Top

Methods

  Name Description
Public method AddCustomBuildRule Adds a custom build rule to the tool file.
Public method RemoveCustomBuildRule Removes a custom, build rule from the tool file.
Public method Save Saves the project file (.vcxproj).

Top

See Also

Reference

Microsoft.VisualStudio.VCProjectEngine Namespace