Solution.WithProjectDefaultNamespace(ProjectId, String) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Membuat instans solusi baru dengan proyek yang ditentukan diperbarui agar memiliki namespace default.
public Microsoft.CodeAnalysis.Solution WithProjectDefaultNamespace(Microsoft.CodeAnalysis.ProjectId projectId, string? defaultNamespace);
member this.WithProjectDefaultNamespace : Microsoft.CodeAnalysis.ProjectId * string -> Microsoft.CodeAnalysis.Solution
Public Function WithProjectDefaultNamespace (projectId As ProjectId, defaultNamespace As String) As Solution
Parameter
- projectId
- ProjectId
- defaultNamespace
- String