Share via


ProjectId Class

Definition

An identifier that can be used to refer to the same Project across versions.

public ref class ProjectId sealed : IEquatable<Microsoft::CodeAnalysis::ProjectId ^>
[System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(),nq}")]
public sealed class ProjectId : IEquatable<Microsoft.CodeAnalysis.ProjectId>
[System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(),nq}")]
[System.Runtime.Serialization.DataContract]
public sealed class ProjectId : IComparable<Microsoft.CodeAnalysis.ProjectId>, IEquatable<Microsoft.CodeAnalysis.ProjectId>
[System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(),nq}")]
[System.Runtime.Serialization.DataContract]
public sealed class ProjectId : IEquatable<Microsoft.CodeAnalysis.ProjectId>
[<System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(),nq}")>]
type ProjectId = class
    interface IEquatable<ProjectId>
[<System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(),nq}")>]
[<System.Runtime.Serialization.DataContract>]
type ProjectId = class
    interface IEquatable<ProjectId>
    interface IComparable<ProjectId>
[<System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(),nq}")>]
[<System.Runtime.Serialization.DataContract>]
type ProjectId = class
    interface IEquatable<ProjectId>
Public NotInheritable Class ProjectId
Implements IEquatable(Of ProjectId)
Public NotInheritable Class ProjectId
Implements IComparable(Of ProjectId), IEquatable(Of ProjectId)
Inheritance
ProjectId
Attributes
Implements

Remarks

This supports the general message-pack DataContractAttribute of being serializable. However, in practice, this is not serialized directly, but through the use of a custom formatter Microsoft.CodeAnalysis.Remote.MessagePackFormatters.ProjectIdFormatter

Applies to