共用方式為


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

傳回

適用於