Workspace.GetDocumentName(DocumentId) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.