Export (0) Print
Expand All

Methods

Visual Studio .NET 2003

The following methods are implemented in the Visual C++ Project Model.

Method Description
AddActiveXReference Method Adds an ActiveX reference to the project.
AddAssemblyReference Method Adds an assembly reference to the selected project.
AddConfiguration Method Adds a configuration to the current project.
AddFile Method Adds a file to the current project or folder.
AddFilter Method Adds a folder to the current project or folder.
AddPlatform Method (VCProject) Adds a platform to the current project (not enabled for Visual C++).
AddProjectReference Method Adds a project reference to the project.
Build Method (VCConfiguration) Builds the current configuration.
CanAddActiveXReference Method Returns whether it is okay to add the given ActiveX reference.
CanAddAssemblyReference Method Returns whether it is okay to add the given assembly reference.
CanAddFile Method Returns True if the specified file can be added to the current project or filter.
CanAddProjectReference Method Returns whether it is okay to add the given project reference.
CanMove Method Returns True if a file, filter, project, or project item can be moved to the specified location.
Clean Method (VCConfiguration) Invokes the Clean command for the current configuration.
Compile Method Compiles the selected file or reference.
CopyTo Method Copies the current configuration.
CreateProject Method Creates a new project.
Evaluate Method Evaluates the value of a Project Model or environment macro.
IsSystemInclude Method Returns true if the specified file is in the Vc7\include directory or if the file is one of the directories specified with sysincl.dat.
Item Method (IVCCollection Collection) Selects an item in the collection.
ItemAdded Method Signifies that the specified item was added to the project.
ItemMoved Method Signifies that the specified item was moved within the project.
ItemPropertyChange Method Signifies that a property changed for the specified item.
ItemRemoved Method Signifies that the specified item was removed from the project.
ItemRenamed Method Signifies that the specified item in the project was renamed.
LoadProject Method Loads a project.
MatchName Method Matches a specified name to the name of a collection item.
Move Method Moves a file or folder into the top level of the project or a new folder.
ProjectBuildFinished Method Signifies that the building of a project has been completed.
ProjectBuildStarted Method Signifies that the building of a project has begun.
Rebuild Method Rebuilds the current configuration.
RemoveConfiguration Method Removes a configuration from the current project.
RemoveFile Method Removes a file from the current project or folder.
RemoveFilter Method Removes a folder from the current project and any files or other folders in the folder.
RemovePlatform Method Removes a platform from the current project (not enabled for Visual C++).
RemoveProject Method Removes a project.
RemoveReference Method Removes the specified reference from the project or references collection.
ReportError Method (VCProjectEngineEvents) Sends an error message to the user interface.
Save Method Saves the project file (.vcproj).
SccEvent Method Signifies that a source code control event has occurred.
StopBuild Method Cancels the build currently in progress on the specified configuration.
Version Method (VCProject Object) Sets or returns the major and minor version numbers of the project.

See Also

Visual C++ Extensibility Object Model

Show:
© 2014 Microsoft