VCProjectEngineObjectClass.LoadToolFile Method
Loads a tool file.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
声明
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
- 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.