ProjectIdentifier Struct

Definition

Structure identifying a project context's state at the time of setting Diagnostics.

C++
public value class ProjectIdentifier : IEquatable<Microsoft::VisualStudio::RpcContracts::Utilities::ProjectIdentifier>
Inheritance
ProjectIdentifier
Attributes
Implements

Constructors

ProjectIdentifier(String, String, String)

Initializes a new instance of the ProjectIdentifier structure.

Properties

Context

Gets the context in which the diagnostic was generated (e.g. win32, macOS).

DisplayName

Gets the human-readable combination of the Name and Context.

Identifier

Gets the ProjectIdentifier. This is usually the project GUID.

IsContextActive

Gets a value indicating whether the context was active at the time of state capture.

Name

Gets the name of the project.

Methods

Equals(Object)

Compares a ProjectIdentifier to an object.

Equals(ProjectIdentifier)

Compares two ProjectIdentifier to each other.

GetHashCode()

Gets a unique hash code for the instance called on.

Operators

Equality(ProjectIdentifier, ProjectIdentifier)

Indicates whether left and right equiavlent.

Inequality(ProjectIdentifier, ProjectIdentifier)

Indicates whether left and right different.

Applies to

Proizvod Verzije
Visual Studio SDK 2019, 2022