Compartilhar via


NamespaceDeclarationSyntax.WithExterns Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::NamespaceDeclarationSyntax ^ WithExterns(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::ExternAliasDirectiveSyntax ^> externs);
public Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax WithExterns (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax> externs);
member this.WithExterns : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax
override this.WithExterns : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax
Public Function WithExterns (externs As SyntaxList(Of ExternAliasDirectiveSyntax)) As NamespaceDeclarationSyntax

Parameters

Returns

Applies to