Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the project configuration to be built.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
ReadOnly Property ConfigurationName As String
string ConfigurationName { get; }
property String^ ConfigurationName {
String^ get ();
}
abstract ConfigurationName : string with get
function get ConfigurationName () : String
Property Value
Type: System.String
A string representing the name of the project configuration to be built.
Remarks
ConfigurationName can be set to any defined project configuration named by the ProjectName property.
Examples
Sub ConfigurationNameExample()
' 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.
MsgBox(CM.Item(2).ConfigurationName)
End Sub
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.