VCProjectEngineObjectClass.LoadToolFile(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads a tool file.
public:
virtual Microsoft::VisualStudio::VCProjectEngine::VCToolFile ^ LoadToolFile(System::String ^ File) = Microsoft::VisualStudio::VCProjectEngine::VCProjectEngine::LoadToolFile;
public:
virtual Microsoft::VisualStudio::VCProjectEngine::VCToolFile ^ LoadToolFile(Platform::String ^ File) = Microsoft::VisualStudio::VCProjectEngine::VCProjectEngine::LoadToolFile;
virtual Microsoft::VisualStudio::VCProjectEngine::VCToolFile LoadToolFile(std::wstring const & File);
[System.Runtime.InteropServices.DispId(229)]
public virtual Microsoft.VisualStudio.VCProjectEngine.VCToolFile LoadToolFile (string File);
[<System.Runtime.InteropServices.DispId(229)>]
abstract member LoadToolFile : string -> Microsoft.VisualStudio.VCProjectEngine.VCToolFile
override this.LoadToolFile : string -> Microsoft.VisualStudio.VCProjectEngine.VCToolFile
Public Overridable Function LoadToolFile (File As String) As VCToolFile
Parameters
- File
- String
File name. Can be a short name or a full or partial path.
Returns
Returns a VCToolFile object.
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()