Manages a collection of related items of type Project and provides an Ide.
Namespace:   Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications (in Microsoft.VisualStudio.Tools.Applications.dll)
Inheritance Hierarchy
System.Object
  Microsoft.VisualStudio.Tools.Applications.Session
Syntax
public sealed class Session : IDisposable
public ref class Session sealed : IDisposable
[<Sealed>]
type Session = 
    class
        interface IDisposable
    end
Public NotInheritable Class Session
    Implements IDisposable
Properties
| Name | Description | |
|---|---|---|
![]()  | 
Id | Gets the ID of an instance of the session.  | 
![]()  | 
Ide | Gets the value of Ide for this Session object.  | 
Methods
| Name | Description | |
|---|---|---|
![]()  | 
Dispose() | Closes the Session, disposes of the child Project under it and also removes it from its parent SessionManager.  | 
![]()  | 
Equals(Object) | (Inherited from Object.)  | 
![]()  | 
GetHashCode() | (Inherited from Object.)  | 
![]()  | 
GetProjects() | Gets a collection of projects of type Project in the session.  | 
![]()  | 
GetType() | (Inherited from Object.)  | 
![]()  | 
LoadProject(IProjectStorage) | Creates a new project of type Project from the projectStorage and loads it inside a Session object.  | 
![]()  | 
ToString() | (Inherited from Object.)  | 
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.
.jpeg)
.jpeg)