Project Class
Manages a collection of ProjectItem items and provides a BinaryManager to manage access to binary output.
Namespace: Microsoft.VisualStudio.Tools.Applications
Assembly: Microsoft.VisualStudio.Tools.Applications (in Microsoft.VisualStudio.Tools.Applications.dll)
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Tools.Applications.Project
Syntax
public sealed class Project : IDisposable
public ref class Project sealed : IDisposable
[<Sealed>]
type Project =
class
interface IDisposable
end
Public NotInheritable Class Project
Implements IDisposable
Properties
Name | Description | |
---|---|---|
![]() |
BinaryManager | Gets the BinaryManager for this Project. |
![]() |
CodeName | Gets the code name of the Project. This is the name used to refer to the Project in user code. Since it will be used in code, it must be a valid identifier. |
![]() |
DisplayName | Gets the display name of the Project. This is the name displayed for the Project in the IDE. Since it will not be used in code, it need not be a valid identifier. |
![]() |
HasBreakpoints | Determines if any breakpoints are set for the Project. |
![]() |
Id | Gets the identifier of the Project. |
![]() |
IsDirty | Gets the dirty (unsaved) state of the project. |
Methods
Name | Description | |
---|---|---|
![]() |
AddFile(String, Stream) | Adds a new file to the Project. |
![]() |
ClearBreakpoints() | Clears all the Breakpoint settings from items in the Project. |
![]() |
Dispose() | Closes the Project and removes it from its parent Session. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetProjectItem(String) | Gets the ProjectItem with the specified name. |
![]() |
GetProjectItemExists(String) | Determines if the ProjectItem exists in the Project. |
![]() |
GetProjectItems() | Gets a collection of items of type ProjectItem in a Project. |
![]() |
GetType() | (Inherited from Object.) |
![]() |
Save(IProjectStorage) | Saves the Project into projectStorage. |
![]() |
StartDebugging() | Requests the IDE to start debugging. |
![]() |
StopDebugging() | Requests the IDE to stop debugging. |
![]() |
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
![]() |
ProjectChangeCommitted | Occurs when a pending change to the Project is committed. |
![]() |
ProjectChanged | Occurs when the dirty state of the Project changes. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.