Delen via


Document.WithName(String) Method

Definition

Creates a new instance of this document updated to have the specified name.

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

Parameters

name
String

Returns

Applies to