共用方式為


ProjectInfo.WithProjectReferences(IEnumerable<ProjectReference>) Method

Definition

public:
 Microsoft::CodeAnalysis::ProjectInfo ^ WithProjectReferences(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::ProjectReference ^> ^ projectReferences);
public Microsoft.CodeAnalysis.ProjectInfo WithProjectReferences (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ProjectReference> projectReferences);
public Microsoft.CodeAnalysis.ProjectInfo WithProjectReferences (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ProjectReference>? projectReferences);
member this.WithProjectReferences : seq<Microsoft.CodeAnalysis.ProjectReference> -> Microsoft.CodeAnalysis.ProjectInfo
Public Function WithProjectReferences (projectReferences As IEnumerable(Of ProjectReference)) As ProjectInfo

Parameters

projectReferences
IEnumerable<ProjectReference>

Returns

Applies to