共用方式為


VCProjectEngineObjectClass Class

Definition

The main object for VCProjectEngine automation model.

public ref class VCProjectEngineObjectClass : Microsoft::VisualStudio::VCProjectEngine::VCProjectEngineObject
public ref class VCProjectEngineObjectClass : Microsoft::VisualStudio::VCProjectEngine::VCProjectEngine2, Microsoft::VisualStudio::VCProjectEngine::VCProjectEngineObject
[Windows::Foundation::Metadata::WebHostHidden]
class VCProjectEngineObjectClass : Microsoft::VisualStudio::VCProjectEngine::VCProjectEngineObject
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("F840D790-AF0C-4927-BD62-243899E5C969")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class VCProjectEngineObjectClass : Microsoft.VisualStudio.VCProjectEngine.VCProjectEngineObject
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("F840D790-AF0C-4927-BD62-243899E5C969")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class VCProjectEngineObjectClass : Microsoft.VisualStudio.VCProjectEngine.VCProjectEngine2, Microsoft.VisualStudio.VCProjectEngine.VCProjectEngineObject
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("F840D790-AF0C-4927-BD62-243899E5C969")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type VCProjectEngineObjectClass = class
    interface VCProjectEngine
    interface VCProjectEngineObject
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("F840D790-AF0C-4927-BD62-243899E5C969")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type VCProjectEngineObjectClass = class
    interface VCProjectEngine
    interface VCProjectEngineObject
    interface VCProjectEngine2
Public Class VCProjectEngineObjectClass
Implements VCProjectEngineObject
Public Class VCProjectEngineObjectClass
Implements VCProjectEngine2, VCProjectEngineObject
Inheritance
VCProjectEngineObjectClass
Attributes
Implements

Remarks

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

Dim Engine As VCProjectEngine  
Engine = New VCProjectEngineObject()  

Constructors

VCProjectEngineObjectClass()

A creator for the VCProjectEngineObject.

Properties

BuildLogging

Gets or sets a value indicating whether a log file will be created and populated with information about build activity.

BuildTiming

Gets or sets a value indicating whether the output window will display times for all tools in the build.

Events

Gets the object that is the source of events that are fired by the project engine.

PerformanceLogging

Microsoft Internal Use Only.

Platforms

Gets the collection of platforms on the project engine.

Projects

Gets the Visual C++ projects in the solution.

PropertySheets

Microsoft Internal Use Only.

ShowEnvironmentInBuildLog

Gets or sets a value indicating whether or not to echo all environment variables into the build log during builds of Visual C++ projects.

ToolFiles

Returns the tool files collection.

ToolFileSearchPaths

Gets or sets the file path for the tool file locations.

ValidateSchemas

Gets or sets whether the VCProjectEngine object validates XML files against schemas.

VCProjectEngine2_BuildLogging
VCProjectEngine2_BuildTiming
VCProjectEngine2_Events
VCProjectEngine2_PerformanceLogging
VCProjectEngine2_Platforms
VCProjectEngine2_Projects
VCProjectEngine2_PropertySheets
VCProjectEngine2_ShowEnvironmentInBuildLog
VCProjectEngine2_ToolFiles
VCProjectEngine2_ToolFileSearchPaths
VCProjectEngine2_ValidateSchemas

Methods

AddFakeProps(Int32, Int32, Int32)

Microsoft Internal Use Only.

CreateProject(String)

Creates a new project.

CreatePropertySheet(String)

Microsoft Internal Use Only.

CreateToolFile(String)

Creates a tool file for custom build rules.

Evaluate(String)

Evaluates the value of a project model or environment macro.

GetVCProjectBuildService(String, String, Guid, Object)
IsSystemInclude(String)

Returns true if the specified file is in the <drive>:\Program Files\Microsoft Visual Studio 8\VC\include directory.

LoadProject(String)

Loads a project.

LoadPropertySheet(String)

Microsoft Internal Use Only.

LoadToolFile(String)

Loads a tool file.

RemoveProject(Object)

Microsoft Internal Use Only.

RemovePropertySheet(Object)

Microsoft Internal Use Only.

VCProjectEngine2_AddFakeProps(Int32, Int32, Int32)
VCProjectEngine2_CreateProject(String)
VCProjectEngine2_CreatePropertySheet(String)
VCProjectEngine2_CreateToolFile(String)
VCProjectEngine2_Evaluate(String)
VCProjectEngine2_get_BuildLogging()
VCProjectEngine2_get_BuildTiming()
VCProjectEngine2_get_Events()
VCProjectEngine2_get_PerformanceLogging()
VCProjectEngine2_get_Platforms()
VCProjectEngine2_get_Projects()
VCProjectEngine2_get_PropertySheets()
VCProjectEngine2_get_ShowEnvironmentInBuildLog()
VCProjectEngine2_get_ToolFiles()
VCProjectEngine2_get_ToolFileSearchPaths()
VCProjectEngine2_get_ValidateSchemas()
VCProjectEngine2_GetVCProjectBuildService(String, String, Guid, Object)
VCProjectEngine2_IsSystemInclude(String)
VCProjectEngine2_LoadProject(String)
VCProjectEngine2_LoadPropertySheet(String)
VCProjectEngine2_LoadToolFile(String)
VCProjectEngine2_RemoveProject(Object)
VCProjectEngine2_RemovePropertySheet(Object)
VCProjectEngine2_set_BuildLogging(Boolean)
VCProjectEngine2_set_BuildTiming(Boolean)
VCProjectEngine2_set_PerformanceLogging(Boolean)
VCProjectEngine2_set_ShowEnvironmentInBuildLog(Boolean)
VCProjectEngine2_set_ToolFileSearchPaths(String)
VCProjectEngine2_set_ValidateSchemas(Boolean)
VCProjectEngine2_WaitForMultipleHandles(UInt32, Array)
WaitForMultipleHandles(UInt32, Array)
WaitForMultipleTasks(UInt32, Array)

Applies to