This documentation is archived and is not being maintained.

ConfigurationManager Object

Visual Studio .NET 2003

Represents a matrix of Configuration Objects, one for each combination of configuration name and platform name.







[Visual Basic .NET]
Public Interface ConfigurationManager
    Inherits IDispatch
[Visual Basic 6]
Class ConfigurationManager
interface ConfigurationManager : IDispatch
public interface ConfigurationManager : IDispatch
[JScript .NET]
public interface ConfigurationManager extends IDispatch


The ConfigurationManager object is basically a matrix of project/project item configuration names and platform names. Each element of the matrix is a Configuration Object. You can reference a ConfigurationManager object for a project or a project item, but some types of projects do not support project item-level build settings.

Reference this object using Project.ConfigurationManager. or ProjectItem.ConfigurationManager.


Namespace: EnvDTE

File: dte.olb


Sub ConfigurationManagerExample()
   ' Before running, load a project.
   ' Set references to all necessary objects.
   Dim CM As ConfigurationManager = DTE.Solution.Projects.Item(1).ConfigurationManager
   ' List the configuration name used for the current project.
End Sub

See Also

Properties, Methods, and Events