Udostępnij za pośrednictwem


Solution.AddDocuments(ImmutableArray<DocumentInfo>) Method

Definition

Create a new Solution instance with the corresponding Projects updated to include the documents specified by documentInfos.

public Microsoft.CodeAnalysis.Solution AddDocuments (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DocumentInfo> documentInfos);
member this.AddDocuments : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DocumentInfo> -> Microsoft.CodeAnalysis.Solution
Public Function AddDocuments (documentInfos As ImmutableArray(Of DocumentInfo)) As Solution

Parameters

documentInfos
ImmutableArray<DocumentInfo>

Returns

A new Solution with the documents added.

Applies to