Compartilhar via


NamespaceBlockSyntax.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::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

Parâmetros

Retornos

Aplica-se a