Adds a custom build rule file to a project.
Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Declaration
Sub AddToolFile ( _
    ToolFile As VCToolFile _
)
void AddToolFile(
    VCToolFile ToolFile
)
void AddToolFile(
    [InAttribute] VCToolFile^ ToolFile
)
abstract AddToolFile : 
        ToolFile:VCToolFile -> unit
function AddToolFile(
    ToolFile : VCToolFile
)
Parameters
ToolFile
Type: Microsoft.VisualStudio.VCProjectEngine.VCToolFileThe build rule file to add.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.