Udostępnij za pośrednictwem


VCProjectEngineObjectClass.CreateToolFile Method

Creates a tool file for custom build rules.

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

Syntax

'Declaration
Public Overridable Function CreateToolFile ( _
    Name As String _
) As VCToolFile
public virtual VCToolFile CreateToolFile(
    string Name
)
public:
virtual VCToolFile^ CreateToolFile(
    [InAttribute] String^ Name
)
abstract CreateToolFile : 
        Name:string -> VCToolFile 
override CreateToolFile : 
        Name:string -> VCToolFile 
public function CreateToolFile(
    Name : String
) : VCToolFile

Parameters

  • Name
    Type: System.String
    File name. Can be a short name or a full or partial path.

Return Value

Type: Microsoft.VisualStudio.VCProjectEngine.VCToolFile
Returns a VCToolFile objcet.

Implements

VCProjectEngine.CreateToolFile(String)

Remarks

Tool files contain custom build rules.

Do not instantiate VCProjectEngineObjectClass. Instantiate VCProjectEngineObject instead, as shown below:

Dim Engine As VCProjectEngine
Engine = New VCProjectEngineObject()

.NET Framework Security

See Also

Reference

VCProjectEngineObjectClass Class

Microsoft.VisualStudio.VCProjectEngine Namespace