AnonymousMethodExpressionSyntax.Update 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Update(SyntaxToken, SyntaxToken, ParameterListSyntax, CSharpSyntaxNode)
public:
Microsoft::CodeAnalysis::CSharp::Syntax::AnonymousMethodExpressionSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken asyncKeyword, Microsoft::CodeAnalysis::SyntaxToken delegateKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::CSharp::CSharpSyntaxNode ^ body);
public Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax Update (Microsoft.CodeAnalysis.SyntaxToken asyncKeyword, Microsoft.CodeAnalysis.SyntaxToken delegateKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode body);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax
Public Function Update (asyncKeyword As SyntaxToken, delegateKeyword As SyntaxToken, parameterList As ParameterListSyntax, body As CSharpSyntaxNode) As AnonymousMethodExpressionSyntax
參數
- asyncKeyword
- SyntaxToken
- delegateKeyword
- SyntaxToken
- parameterList
- ParameterListSyntax
- body
- CSharpSyntaxNode
傳回
適用於
Update(SyntaxToken, SyntaxToken, ParameterListSyntax, BlockSyntax, ExpressionSyntax)
public Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax Update (Microsoft.CodeAnalysis.SyntaxToken asyncKeyword, Microsoft.CodeAnalysis.SyntaxToken delegateKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expressionBody);
public Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax Update (Microsoft.CodeAnalysis.SyntaxToken asyncKeyword, Microsoft.CodeAnalysis.SyntaxToken delegateKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax? parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expressionBody);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax
Public Function Update (asyncKeyword As SyntaxToken, delegateKeyword As SyntaxToken, parameterList As ParameterListSyntax, block As BlockSyntax, expressionBody As ExpressionSyntax) As AnonymousMethodExpressionSyntax
參數
- asyncKeyword
- SyntaxToken
- delegateKeyword
- SyntaxToken
- parameterList
- ParameterListSyntax
- block
- BlockSyntax
- expressionBody
- ExpressionSyntax
傳回
適用於
Update(SyntaxTokenList, SyntaxToken, ParameterListSyntax, BlockSyntax, ExpressionSyntax)
public Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax Update (Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken delegateKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax? parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expressionBody);
member this.Update : Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax
Public Function Update (modifiers As SyntaxTokenList, delegateKeyword As SyntaxToken, parameterList As ParameterListSyntax, block As BlockSyntax, expressionBody As ExpressionSyntax) As AnonymousMethodExpressionSyntax
參數
- modifiers
- SyntaxTokenList
- delegateKeyword
- SyntaxToken
- parameterList
- ParameterListSyntax
- block
- BlockSyntax
- expressionBody
- ExpressionSyntax