次の方法で共有


AddRemoveHandlerStatementSyntax.WithDelegateExpression Method

Definition

Returns a copy of this with the DelegateExpression property changed to the specified value. Returns this instance if the specified value is the same as the current value.

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

Parameters

delegateExpression
ExpressionSyntax

Returns

Applies to