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.


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

public sealed class ProjectData

The ProjectData type exposes the following members.

Public methodProjectDataInitializes an instance of the ProjectData class.

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.

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().)

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