共用方式為


FileScopedNamespaceDeclarationSyntax.AddExterns Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax AddExterns (params Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax[] items);
override this.AddExterns : Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax[] -> Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax
Public Function AddExterns (ParamArray items As ExternAliasDirectiveSyntax()) As FileScopedNamespaceDeclarationSyntax

Parameters

Returns

Applies to