Share via


ProjectData Class

Represents information about a test project in Visual Studio.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.Common.ProjectData

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class ProjectData
[SerializableAttribute]
public sealed class ProjectData
[SerializableAttribute]
public ref class ProjectData sealed
[<Sealed>]
[<SerializableAttribute>]
type ProjectData =  class end
public final class ProjectData

The ProjectData type exposes the following members.

Constructors

  Name Description
Public method ProjectData Initializes an instance of the ProjectData class.

Top

Properties

  Name Description
Public property ProjectId Gets the unique identifier for the project.
Public property ProjectName Gets the name of the project.
Public property ProjectRelativePath Gets the relative path of the project within the solution directory.
Public property SolutionName Gets the name of the solution in which the project is located.

Top

Methods

  Name Description
Public method Equals Returns a value that indicates whether the provided object is equal to the current ProjectData. (Overrides Object.Equals(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 Requires no description. (Overrides Object.GetHashCode().)
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 contains the name and the value of each property. (Overrides Object.ToString().)

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.TestTools.Common Namespace