Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Aktualisiert: November 2007
Stellt eine Matrix von Configuration-Objekten dar, jeweils ein Objekt für jede Kombination aus Konfigurationsname und Plattformname.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
<GuidAttribute("9043FDA1-345B-4364-900F-BC8598EB8E4F")> _
Public Interface ConfigurationManager _
Implements IEnumerable
Dim instance As ConfigurationManager
[GuidAttribute("9043FDA1-345B-4364-900F-BC8598EB8E4F")]
public interface ConfigurationManager : IEnumerable
[GuidAttribute(L"9043FDA1-345B-4364-900F-BC8598EB8E4F")]
public interface class ConfigurationManager : IEnumerable
public interface ConfigurationManager extends IEnumerable
Hinweise
Das ConfigurationManager-Objekt ist im Wesentlichen eine Matrix von Konfigurations- und Plattformnamen für Projekt und Projektelement. Jedes Element der Matrix ist ein Configuration-Objekt. Sie können auf ein ConfigurationManager-Objekt für ein Projekt bzw. Projektelement verweisen. Einige Projekttypen unterstützen jedoch keine Buildeinstellungen auf Ebene der Projektelemente.
Auf dieses Objekt können Sie mit EnvDTE.Project.ConfigurationManager oder EnvDTE.ProjectItem.ConfigurationManager verweisen.
Beispiele
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.
MsgBox(CM.Item(2).ConfigurationName)
End Sub