共用方式為


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

傳回

適用於