VCProject.AddToolFile Method
Adds a custom build rule file to a project.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
声明
Sub AddToolFile ( _
ToolFile As VCToolFile _
)
用法
Dim instance As VCProject
Dim ToolFile As VCToolFile
instance.AddToolFile(ToolFile)
void AddToolFile(
VCToolFile ToolFile
)
void AddToolFile(
[InAttribute] VCToolFile^ ToolFile
)
function AddToolFile(
ToolFile : VCToolFile
)
Parameters
ToolFile
Type: Microsoft.VisualStudio.VCProjectEngine.VCToolFileThe build rule file to add.
Permissions
- 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.