Partilhar via


ClassBlockSyntax.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::ClassBlockSyntax ^ WithMembers(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> members);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ClassBlockSyntax 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.ClassBlockSyntax
Public Function WithMembers (members As SyntaxList(Of StatementSyntax)) As ClassBlockSyntax

Parâmetros

Retornos

Aplica-se a