Share via


TextDocument.Id Property

Definition

The document's identifier. Many document instances may share the same ID, but only one document in a solution may have that ID.

public:
 property Microsoft::CodeAnalysis::DocumentId ^ Id { Microsoft::CodeAnalysis::DocumentId ^ get(); };
public Microsoft.CodeAnalysis.DocumentId Id { get; }
member this.Id : Microsoft.CodeAnalysis.DocumentId
Public ReadOnly Property Id As DocumentId

Property Value

Applies to