Compartir a través de


NamespaceDeclarationSyntax.WithUsings Método

Definición

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::NamespaceDeclarationSyntax ^ WithUsings(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::UsingDirectiveSyntax ^> usings);
public Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax WithUsings (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> usings);
member this.WithUsings : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax
override this.WithUsings : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax
Public Function WithUsings (usings As SyntaxList(Of UsingDirectiveSyntax)) As NamespaceDeclarationSyntax

Parámetros

Devoluciones

Se aplica a