Configuration.ConfigurationName Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft die Projekt Konfiguration ab, die erstellt werden soll.
public:
property System::String ^ ConfigurationName { System::String ^ get(); };
public:
property Platform::String ^ ConfigurationName { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(3)]
public string ConfigurationName { [System.Runtime.InteropServices.DispId(3)] get; }
[<System.Runtime.InteropServices.DispId(3)>]
[<get: System.Runtime.InteropServices.DispId(3)>]
member this.ConfigurationName : string
Public ReadOnly Property ConfigurationName As String
Eigenschaftswert
Eine Zeichenfolge, die den Namen der zu erstellenden Projekt Konfiguration darstellt.
- Attribute
Beispiele
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
Hinweise
ConfigurationName kann auf eine beliebige definierte Projekt Konfiguration festgelegt werden, die durch die-Eigenschaft benannt wird ProjectName .