Partager via


VCProjectEngineObjectClass.CreateToolFile(String) Method

Definition

Creates a tool file for custom build rules.

public:
 virtual Microsoft::VisualStudio::VCProjectEngine::VCToolFile ^ CreateToolFile(System::String ^ Name) = Microsoft::VisualStudio::VCProjectEngine::VCProjectEngine::CreateToolFile;
public:
 virtual Microsoft::VisualStudio::VCProjectEngine::VCToolFile ^ CreateToolFile(Platform::String ^ Name) = Microsoft::VisualStudio::VCProjectEngine::VCProjectEngine::CreateToolFile;
 virtual Microsoft::VisualStudio::VCProjectEngine::VCToolFile CreateToolFile(std::wstring const & Name);
[System.Runtime.InteropServices.DispId(234)]
public virtual Microsoft.VisualStudio.VCProjectEngine.VCToolFile CreateToolFile (string Name);
[<System.Runtime.InteropServices.DispId(234)>]
abstract member CreateToolFile : string -> Microsoft.VisualStudio.VCProjectEngine.VCToolFile
override this.CreateToolFile : string -> Microsoft.VisualStudio.VCProjectEngine.VCToolFile
Public Overridable Function CreateToolFile (Name As String) As VCToolFile

Parameters

Name
String

File name. Can be a short name or a full or partial path.

Returns

Returns a VCToolFile objcet.

Implements

Attributes

Remarks

Tool files contain custom build rules.

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

Dim Engine As VCProjectEngine  
Engine = New VCProjectEngineObject()  

Applies to