Compartilhar via


AddRemoveHandlerStatementSyntax.WithDelegateExpression Método

Definição

Retorna uma cópia disso com a propriedade DelegateExpression 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::AddRemoveHandlerStatementSyntax ^ WithDelegateExpression(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ delegateExpression);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.AddRemoveHandlerStatementSyntax WithDelegateExpression (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax delegateExpression);
member this.WithDelegateExpression : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AddRemoveHandlerStatementSyntax
Public Function WithDelegateExpression (delegateExpression As ExpressionSyntax) As AddRemoveHandlerStatementSyntax

Parâmetros

delegateExpression
ExpressionSyntax

Retornos

Aplica-se a