Partilhar via


ModuleBlockSyntax.WithMembers(SyntaxList<StatementSyntax>) Método

Definição

Retorna uma cópia disso com a propriedade Members alterada para o valor especificado. Retorna essa instância se o valor especificado for o mesmo que o valor atual.

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

Parâmetros

Retornos

Aplica-se a