Share via


Workspace.GetDocumentName(DocumentId) Method

Definition

Gets the name to use for a document in an error message.

protected:
 virtual System::String ^ GetDocumentName(Microsoft::CodeAnalysis::DocumentId ^ documentId);
protected virtual string GetDocumentName (Microsoft.CodeAnalysis.DocumentId documentId);
abstract member GetDocumentName : Microsoft.CodeAnalysis.DocumentId -> string
override this.GetDocumentName : Microsoft.CodeAnalysis.DocumentId -> string
Protected Overridable Function GetDocumentName (documentId As DocumentId) As String

Parameters

documentId
DocumentId

Returns

Applies to