VCProject Methods

Include Protected Members
Include Inherited Members

The VCProject type exposes the following members.

Methods

  Name Description
Public method AddActiveXReference Adds an ActiveX (COM) reference to the project.
Public method AddAssemblyReference Adds an assembly (.NET) reference to the selected project.
Public method AddConfiguration Adds a configuration to the current project.
Public method AddFile Adds a file to the current project or folder.
Public method AddFilter Adds a folder to the current project or folder.
Public method AddPlatform Adds a platform to the current project (not enabled for Visual C++).
Public method AddProjectReference Adds a project reference to the project.
Public method AddRuleDefinition Adds a rule to the project so that it is available as an IVCRulePropertyStorage.
Public method AddSdkReference
Public method AddToolFile Adds a custom build rule file to a project.
Public method AddWebReference Adds a reference to a Web Service to the project.
Public method AddWinRTReference
Public method CanAddActiveXReference Gets a value indicating whether to add the given ActiveX (COM) reference.
Public method CanAddAssemblyReference Returns whether it is okay to add the given assembly (.NET) reference.
Public method CanAddFile Returns true if the specified file can be added to the current project or filter.
Public method CanAddFilter Returns true if the specified filter can be added as a top-level filter or as a subfilter to the current filter.
Public method CanAddProjectReference Returns whether it is okay to add the given project reference
Public method CanAddSdkReference
Public method CanAddWinRTReference
Public method ContainsFileEndingWith Indicates whether there is a file name that ends with a specified string.
Public method ContainsFileWithItemType Indicates whether there is a file whose type matches a specified type.
Public method GetFilesEndingWith Retrieves a collection of file names whose trailing characters match a specified string.
Public method GetFilesWithItemType Retrieves a collection of file names whose whose type matches a specified type.
Public method GetVCService
Public method IncludeHeaderFile Adds a #include HeaderFile directive to a pre-compiled header file, or to a specified file.
Public method LoadProjectOptions Infrastructure. Microsoft Internal Use Only.
Public method LoadUserFile Loads the user option file.
Public method MakeManagedDBConnection Infrastructure. Microsoft Internal Use Only.
Public method MatchName Matches a specified name to the name of a collection item.
Public method RemoveConfiguration Removes a configuration from the current project.
Public method RemoveFile Removes a file from the current project or folder.
Public method RemoveFilter Removes a folder from the current project and any files or other folders in the folder.
Public method RemovePlatform Removes a platform from the current project (not enabled for Visual C++).
Public method RemoveReference Removes the specified reference from the project or references collection.
Public method RemoveRuleDefinition Removes a Rule definition from the project.
Public method RemoveToolFile Removes a custom build rules file from the project.
Public method Save Infrastructure. Saves the project file (.vcxproj).
Public method SaveProjectOptions Infrastructure. Microsoft Internal Use Only.
Public method SaveUserFile Saves the user option file.
Public method Version Sets or returns the major and minor version numbers of the project.

Top

See Also

Reference

VCProject Interface

Microsoft.VisualStudio.VCProjectEngine Namespace