AddConfiguration Method
Home Page (Objects) | Overview | FAQ | Reference
Applies to: BuildProject object
Adds a configuration to the project.
Syntax
object**.AddConfiguration**name
Parameters
object
An expression that evaluates to a BuildProject object.
name
A String that contains the name of the new configuration.
Example
The following example adds a configuration to a project:
Sub AddMyFile
If Projects(1).Type = "Build" Then
Projects(1).AddConfiguration "Profile"
End If
End Sub