Partager via


NamespaceDeclarationSyntax.AddMembers(MemberDeclarationSyntax[]) Méthode

Définition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::NamespaceDeclarationSyntax ^ AddMembers(... cli::array <Microsoft::CodeAnalysis::CSharp::Syntax::MemberDeclarationSyntax ^> ^ items);
public Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax AddMembers (params Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax[] items);
member this.AddMembers : Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax[] -> Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax
override this.AddMembers : Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax[] -> Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax
Public Function AddMembers (ParamArray items As MemberDeclarationSyntax()) As NamespaceDeclarationSyntax

Paramètres

Retours

S’applique à