다음을 통해 공유


SyntaxFactory.AddHandlerStatement 메서드

정의

오버로드

AddHandlerStatement(SyntaxToken, ExpressionSyntax, SyntaxToken, ExpressionSyntax)

AddHandler 또는 RemoveHandler 문을 나타냅니다. Kind 속성에 따라 어떤 속성이 결정됩니다.

AddHandlerStatement(ExpressionSyntax, ExpressionSyntax)

AddHandler 또는 RemoveHandler 문을 나타냅니다. Kind 속성에 따라 어떤 속성이 결정됩니다.

AddHandlerStatement(SyntaxToken, ExpressionSyntax, SyntaxToken, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

AddHandler 또는 RemoveHandler 문을 나타냅니다. Kind 속성에 따라 어떤 속성이 결정됩니다.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::AddRemoveHandlerStatementSyntax ^ AddHandlerStatement(Microsoft::CodeAnalysis::SyntaxToken addHandlerOrRemoveHandlerKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ eventExpression, Microsoft::CodeAnalysis::SyntaxToken commaToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ delegateExpression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AddRemoveHandlerStatementSyntax AddHandlerStatement (Microsoft.CodeAnalysis.SyntaxToken addHandlerOrRemoveHandlerKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax eventExpression, Microsoft.CodeAnalysis.SyntaxToken commaToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax delegateExpression);
static member AddHandlerStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AddRemoveHandlerStatementSyntax
Public Shared Function AddHandlerStatement (addHandlerOrRemoveHandlerKeyword As SyntaxToken, eventExpression As ExpressionSyntax, commaToken As SyntaxToken, delegateExpression As ExpressionSyntax) As AddRemoveHandlerStatementSyntax

매개 변수

addHandlerOrRemoveHandlerKeyword
SyntaxToken

"AddHandler" 또는 "RemoveHandler" 키워드입니다.

eventExpression
ExpressionSyntax

액세스 중인 이벤트입니다.

commaToken
SyntaxToken

"," 토큰입니다.

delegateExpression
ExpressionSyntax

추가 또는 제거되는 대리자입니다.

반환

적용 대상

AddHandlerStatement(ExpressionSyntax, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

AddHandler 또는 RemoveHandler 문을 나타냅니다. Kind 속성에 따라 어떤 속성이 결정됩니다.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::AddRemoveHandlerStatementSyntax ^ AddHandlerStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ eventExpression, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ delegateExpression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AddRemoveHandlerStatementSyntax AddHandlerStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax eventExpression, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax delegateExpression);
static member AddHandlerStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AddRemoveHandlerStatementSyntax
Public Shared Function AddHandlerStatement (eventExpression As ExpressionSyntax, delegateExpression As ExpressionSyntax) As AddRemoveHandlerStatementSyntax

매개 변수

eventExpression
ExpressionSyntax

액세스 중인 이벤트입니다.

delegateExpression
ExpressionSyntax

추가 또는 제거되는 대리자입니다.

반환

적용 대상