Solution.WithProjectDefaultNamespace(ProjectId, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée une instance de solution avec le projet spécifié pour avoir l’espace de noms par défaut.
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
Paramètres
- projectId
- ProjectId
- defaultNamespace
- String