Übersicht über nicht modellierte Projekte

Aktualisiert: November 2007

Most project types in Visual Studio implement the Visual Studio automation model. Some projects, however, do not. When such a project is encountered while you are programming in the Visual Studio automation model, it is referred to as an unmodeled project.

Unmodeled Projects

Unmodeled projects are treated the same as modeled projects except that many of the project-related properties and methods do not work with them. Because the automation model cannot communicate with the project, certain details cannot be discovered or altered. You can only obtain basic information about such projects.

Following is a list of valid members (that apply to various objects and collections) for unmodeled projects:

Valid Unmodeled Project Members

DTE property

Name property

Kind property

FileName property

UniqueName property

If other properties or methods are used with an unmodeled project, either E_NOTIMPL or Nothing is returned.

Siehe auch

Aufgaben

Gewusst wie: Hinzufügen und Ändern von Befehlen

Gewusst wie: Erstellen von Add-Ins

Exemplarische Vorgehensweise: Erstellen eines Assistenten

Konzepte

Einführung in Projektmappen, Projekte und Elemente

Diagramm "Automationsobjektmodell"

Weitere Ressourcen

Erstellen und Steuern von Umgebungsfenstern

Erstellen von Add-Ins und Assistenten

Referenz zur Automatisierung und Erweiterbarkeit