共用方式為


BaseNamespaceDeclarationSyntax.WithUsings Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.BaseNamespaceDeclarationSyntax 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.BaseNamespaceDeclarationSyntax
Public Function WithUsings (usings As SyntaxList(Of UsingDirectiveSyntax)) As BaseNamespaceDeclarationSyntax

Parameters

Returns

Applies to