Workspace.GetAdditionalDocumentName(DocumentId) 方法

定义

获取错误消息中用于其他文档的名称。

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

参数

documentId
DocumentId

返回

适用于