Condividi tramite


VCProjectEngineObjectClass.LoadToolFile Method

Loads a tool file.

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

Syntax

'Dichiarazione
Public Overridable Function LoadToolFile ( _
    File As String _
) As VCToolFile
public virtual VCToolFile LoadToolFile(
    string File
)
public:
virtual VCToolFile^ LoadToolFile(
    [InAttribute] String^ File
)
abstract LoadToolFile : 
        File:string -> VCToolFile 
override LoadToolFile : 
        File:string -> VCToolFile 
public function LoadToolFile(
    File : String
) : VCToolFile

Parameters

  • File
    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 object.

Implements

VCProjectEngine.LoadToolFile(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