We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

ProjectData Class

Represents information about a test project in Visual Studio.

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

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

[SerializableAttribute]
public sealed class ProjectData

The ProjectData type exposes the following members.

  NameDescription
Public methodProjectDataInitializes an instance of the ProjectData class.
Top

  NameDescription
Public propertyProjectIdGets the unique identifier for the project.
Public propertyProjectNameGets the name of the project.
Public propertyProjectRelativePathGets the relative path of the project within the solution directory.
Public propertySolutionNameGets the name of the solution in which the project is located.
Top

  NameDescription
Public methodEqualsReturns a value that indicates whether the provided object is equal to the current ProjectData. (Overrides Object.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeRequires no description. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that contains the name and the value of each property. (Overrides Object.ToString().)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: