次の方法で共有


NamespaceBlockSyntax.WithMembers(SyntaxList<StatementSyntax>) Method

Definition

Returns a copy of this with the Members property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::NamespaceBlockSyntax ^ WithMembers(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> members);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.NamespaceBlockSyntax WithMembers (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> members);
member this.WithMembers : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.NamespaceBlockSyntax
Public Function WithMembers (members As SyntaxList(Of StatementSyntax)) As NamespaceBlockSyntax

Parameters

Returns

Applies to