Compartilhar via


VCToolFile Interface

Gives access to custom build rules.

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

Syntax

'Declaration
<GuidAttribute("2430E118-3F8B-4E78-8F16-3170582AA7B5")> _
Public Interface VCToolFile
[GuidAttribute("2430E118-3F8B-4E78-8F16-3170582AA7B5")]
public interface VCToolFile
[GuidAttribute(L"2430E118-3F8B-4E78-8F16-3170582AA7B5")]
public interface class VCToolFile
[<GuidAttribute("2430E118-3F8B-4E78-8F16-3170582AA7B5")>]
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