Freigeben über


NamespaceDeclarationSyntax.WithExterns Methode

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

Parameter

Gibt zurück

Gilt für: