This documentation is archived and is not being maintained.

VCProjectEngine Property

Visual Studio .NET 2003

Returns a pointer to the project engine.

[Visual Basic .NET]
Public ReadOnly Property VCProjectEngine() As Object
[Visual Basic 6]
Property Get VCProjectEngine() As Object
[C++]
HRESULT __stdcall get_VCProjectEngine(
   /* [out, retval] */ IDispatch** retVal
);
[C#]
public object VCProjectEngine {get;}
[JScript .NET]
public function get VCProjectEngine() : Object

Example

The following sample code uses the VCProjectEngine property in the development environment:

' add reference to Microsoft.VisualStudio.VCProjectEngine
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine

Public Module Module1
    Sub Test()
        Dim filter As VCFilter
        Dim col As IVCCollection
        Dim ProjEng As VCProjectEngine
        Dim prj As VCProject
        prj = DTE.Solution.Projects.Item(1).Object
        col = prj.Filters
        ProjEng = col.VCProjectEngine
        ProjEng.BuildTiming = False

    End Sub
End Module

See Samples for Project Model Extensibility for information on how to compile and run this sample.

See Also

VCProjectEngine Object

Applies To: IVCCollection Collection | VCActiveXReference Object | VCALinkTool Object | VCAssemblyReference Object | VCAuxiliaryManagedWrapperGeneratorTool Object | VCBscMakeTool Object | VCCLCompilerTool Object | VCConfiguration Object | VCCustomBuildTool Object | VCFile Object | VCFileConfiguration Object | VCFilter Object | VCLibrarianTool Object | VCLinkerTool Object | VCManagedResourceCompilerTool Object | VCManagedWrapperGeneratorTool Object | VCMidlTool Object | VCNMakeTool Object | VCPlatform Object | VCPostBuildEventTool Object | VCPreBuildEventTool Object | VCPreLinkEventTool Object | VCPrimaryInteropTool Object | VCProject Object | VCProjectItem Object | VCProjectReference Object | VCReference Object | VCReferenceConfiguration Object | VCReferences Collection | VCResourceCompilerTool Object | VCStyleSheet Object | VCWebDeploymentTool Object | VCWebServiceProxyGeneratorTool Object | VCXMLDataGeneratorTool Object

Show: