Compartilhar via


UsingBlockSyntax.WithUsingStatement(UsingStatementSyntax) Método

Definição

Retorna uma cópia disso com a propriedade UsingStatement 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::UsingBlockSyntax ^ WithUsingStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::UsingStatementSyntax ^ usingStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingBlockSyntax WithUsingStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingStatementSyntax usingStatement);
member this.WithUsingStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingBlockSyntax
Public Function WithUsingStatement (usingStatement As UsingStatementSyntax) As UsingBlockSyntax

Parâmetros

usingStatement
UsingStatementSyntax

Retornos

Aplica-se a