Udostępnij za pośrednictwem


VCProjectEngineObjectClass Class

The main object for VCProjectEngine automation model.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.VCProjectEngine.VCProjectEngineObjectClass

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

Syntax

'Declaration
<GuidAttribute("4547A58D-FC1C-4502-84FA-0163EE766635")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class VCProjectEngineObjectClass _
    Implements VCProjectEngine, VCProjectEngineObject
[GuidAttribute("4547A58D-FC1C-4502-84FA-0163EE766635")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class VCProjectEngineObjectClass : VCProjectEngine, 
    VCProjectEngineObject
[GuidAttribute(L"4547A58D-FC1C-4502-84FA-0163EE766635")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class VCProjectEngineObjectClass : VCProjectEngine, 
    VCProjectEngineObject
[<GuidAttribute("4547A58D-FC1C-4502-84FA-0163EE766635")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
type VCProjectEngineObjectClass =  
    class
        interface VCProjectEngine
        interface VCProjectEngineObject
    end
public class VCProjectEngineObjectClass implements VCProjectEngine, VCProjectEngineObject

The VCProjectEngineObjectClass type exposes the following members.

Constructors

  Name Description
Public method VCProjectEngineObjectClass A creator for the VCProjectEngineObject.

Top

Properties

  Name Description
Public property BuildLogging Gets or sets a value indicating whether a log file will be created and populated with information about build activity.
Public property BuildTiming Gets or sets a value indicating whether the output window will display times for all tools in the build.
Public property Events Gets the object that is the source of events that are fired by the project engine.
Public property PerformanceLogging Infrastructure. Microsoft Internal Use Only.
Public property Platforms Gets the collection of platforms on the project engine.
Public property Projects Gets the Visual C++ projects in the solution.
Public property PropertySheets Infrastructure. Microsoft Internal Use Only.
Public property 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.
Public property ToolFiles Returns the tool files collection.
Public property ToolFileSearchPaths Gets or sets the file path for the tool file locations.
Public property ValidateSchemas Gets or sets whether the VCProjectEngine object validates XML files against schemas.

Top

Methods

  Name Description
Public method AddFakeProps Infrastructure. Microsoft Internal Use Only.
Public method CreateProject Creates a new project.
Public method CreatePropertySheet Infrastructure. Microsoft Internal Use Only.
Public method CreateToolFile Creates a tool file for custom build rules.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Evaluate Evaluates the value of a project model or environment macro.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsSystemInclude Returns true if the specified file is in the <drive>:\Program Files\Microsoft Visual Studio 8\VC\include directory.
Public method LoadProject Loads a project.
Public method LoadPropertySheet Infrastructure. Microsoft Internal Use Only.
Public method LoadToolFile Loads a tool file.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RemoveProject Infrastructure. Microsoft Internal Use Only.
Public method RemovePropertySheet Infrastructure. Microsoft Internal Use Only.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

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

Dim Engine As VCProjectEngine
Engine = New VCProjectEngineObject()

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.VCProjectEngine Namespace