Document.WithName(String) 方法

定义

创建更新为具有指定名称的本文档的新实例。

public:
 Microsoft::CodeAnalysis::Document ^ WithName(System::String ^ name);
public Microsoft.CodeAnalysis.Document WithName (string name);
member this.WithName : string -> Microsoft.CodeAnalysis.Document
Public Function WithName (name As String) As Document

参数

name
String

返回

适用于