Aracılığıyla paylaş


VCProject Members

Include Protected Members
Include Inherited Members

This object exposes the properties on a Visual C++ project.

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

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

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

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

Overloaded.

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

RemoveToolFile

Removes a custom build rules file from the project.

Public method

Save

Infrastructure. Saves the project file (.vcproj).

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

Properties

 

Name

Description

Public property

AssemblyReferenceSearchPaths

Sets or gets a list of assembly search paths.

Public property

Configurations

Gets the collection of configurations on the project.

Public property

FileEncoding

Infrastructure. Microsoft Internal Use Only.

Public property

FileFormat

Infrastructure. Microsoft Internal Use Only.

Public property

Files

Gets the collection of files on the object.

Public property

Filters

Gets the collection of filters (or folders) on the object.

Public property

IsDirty

Infrastructure. Microsoft Internal Use Only.

Public property

ItemName

Overloaded.

Public property

Items

Gets the collection of files and top-level folders in a project or the collection of files and folders in a folder.

Public property

keyword

Gets or sets the collection of Dynamic Help keywords associated with a project.

Public property

Kind

Overloaded.

Public property

ManagedDBConnection

Infrastructure. Microsoft Internal Use Only.

Public property

ManagedDBProvider

Infrastructure. Microsoft Internal Use Only.

Public property

Name

Gets or set the name of the object.

Public property

Object

Provides a reference between the Visual Studio object model and the Visual C++ object model.

Public property

OwnerKey

Infrastructure. Microsoft Internal Use Only.

Public property

Parent

Overloaded.

Public property

Platforms

Gets the platforms for which this project can be built. For Visual C++, this is only Win32.

Public property

project

Overloaded.

Public property

ProjectDirectory

Gets the name of the directory that contains the project file.

Public property

ProjectFile

Gets the name of the project file.

Public property

ProjectGUID

Infrastructure. Microsoft Internal Use Only.

Public property

References

Gets the collection of references for the selected project.

Public property

ReferencesConsumableByDesigners

Gets the collection of references that are consumable by designers in the active solution configuration.

Public property

RootNamespace

Gets the root namespace for the specified project.

Public property

SccAuxPath

Infrastructure. Microsoft Internal Use Only.

Public property

SccLocalPath

Infrastructure. Microsoft Internal Use Only.

Public property

SccProjectName

Infrastructure. Microsoft Internal Use Only.

Public property

SccProvider

Infrastructure. Microsoft Internal Use Only.

Public property

ShowAllFiles

Sets or gets whether to show all files in the solution explorer.

Public property

ToolFiles

Gets a collection of custom build rule files.

Public property

VCProjectEngine

Overloaded.

Public property

VCReferences

Gets the collection of references for the selected project.

Top

See Also

Reference

VCProject Interface

Microsoft.VisualStudio.VCProjectEngine Namespace