ProjectOpenedEventArgs Class

Provides data to the ProjectOpened event.

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.VisualStudio.Data.Schema.Package.Project.ProjectEventArgs
      Microsoft.VisualStudio.Data.Schema.Package.Project.ProjectOpenedEventArgs

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public NotInheritable Class ProjectOpenedEventArgs _
    Inherits ProjectEventArgs
[CLSCompliantAttribute(false)]
public sealed class ProjectOpenedEventArgs : ProjectEventArgs
[CLSCompliantAttribute(false)]
public ref class ProjectOpenedEventArgs sealed : public ProjectEventArgs
[<Sealed>]
[<CLSCompliantAttribute(false)>]
type ProjectOpenedEventArgs =  
    class
        inherit ProjectEventArgs
    end
public final class ProjectOpenedEventArgs extends ProjectEventArgs

The ProjectOpenedEventArgs type exposes the following members.

Properties

  Name Description
Public property CurrentVersion Gets or sets the current version of the project.
Public property DatabaseProjectNode Gets or sets the IDatabaseProjectNode that raised this event. (Inherited from ProjectEventArgs.)
Public property PreviousVersion Gets or sets the version of the project from which you upgrade.
Public property WasUpgraded Gets a value that indicates whether the project file was upgraded.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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.

See Also

Reference

Microsoft.VisualStudio.Data.Schema.Package.Project Namespace