Delen via


DocumentId Class

Definition

An identifier that can be used to retrieve the same Document across versions of the workspace.

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

Properties

Id
ProjectId

Methods

CreateFromSerialized(ProjectId, Guid, String)
CreateNewId(ProjectId, String)

Creates a new DocumentId instance.

Equals(DocumentId)
Equals(Object)
GetHashCode()
ToString()

Operators

Equality(DocumentId, DocumentId)
Inequality(DocumentId, DocumentId)

Applies to