SyntaxFactory.AnonymousMethodExpression Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
AnonymousMethodExpression() |
Создает новый экземпляр AnonymousMethodExpressionSyntax. |
AnonymousMethodExpression(CSharpSyntaxNode) |
Создает новый экземпляр AnonymousMethodExpressionSyntax. |
AnonymousMethodExpression(ParameterListSyntax, CSharpSyntaxNode) |
Создает новый экземпляр AnonymousMethodExpressionSyntax. |
AnonymousMethodExpression(SyntaxToken, SyntaxToken, ParameterListSyntax, CSharpSyntaxNode) |
Создает новый экземпляр AnonymousMethodExpressionSyntax. |
AnonymousMethodExpression(SyntaxToken, SyntaxToken, ParameterListSyntax, BlockSyntax, ExpressionSyntax) |
Создает новый экземпляр AnonymousMethodExpressionSyntax. |
AnonymousMethodExpression(SyntaxTokenList, SyntaxToken, ParameterListSyntax, BlockSyntax, ExpressionSyntax) |
Создает новый экземпляр AnonymousMethodExpressionSyntax. |
AnonymousMethodExpression()
Создает новый экземпляр AnonymousMethodExpressionSyntax.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::AnonymousMethodExpressionSyntax ^ AnonymousMethodExpression();
public static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression ();
static member AnonymousMethodExpression : unit -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax
Public Shared Function AnonymousMethodExpression () As AnonymousMethodExpressionSyntax
Возвращаемое значение
Применяется к
AnonymousMethodExpression(CSharpSyntaxNode)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
Создает новый экземпляр AnonymousMethodExpressionSyntax.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::AnonymousMethodExpressionSyntax ^ AnonymousMethodExpression(Microsoft::CodeAnalysis::CSharp::CSharpSyntaxNode ^ body);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression (Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode body);
static member AnonymousMethodExpression : Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax
Public Shared Function AnonymousMethodExpression (body As CSharpSyntaxNode) As AnonymousMethodExpressionSyntax
Параметры
- body
- CSharpSyntaxNode
Возвращаемое значение
Применяется к
AnonymousMethodExpression(ParameterListSyntax, CSharpSyntaxNode)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
Создает новый экземпляр AnonymousMethodExpressionSyntax.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::AnonymousMethodExpressionSyntax ^ AnonymousMethodExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::CSharp::CSharpSyntaxNode ^ body);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode body);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax? parameterList, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode body);
static member AnonymousMethodExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax
Public Shared Function AnonymousMethodExpression (parameterList As ParameterListSyntax, body As CSharpSyntaxNode) As AnonymousMethodExpressionSyntax
Параметры
- parameterList
- ParameterListSyntax
- body
- CSharpSyntaxNode
Возвращаемое значение
Применяется к
AnonymousMethodExpression(SyntaxToken, SyntaxToken, ParameterListSyntax, CSharpSyntaxNode)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
Создает новый экземпляр AnonymousMethodExpressionSyntax.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::AnonymousMethodExpressionSyntax ^ AnonymousMethodExpression(Microsoft::CodeAnalysis::SyntaxToken asyncKeyword, Microsoft::CodeAnalysis::SyntaxToken delegateKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::CSharp::CSharpSyntaxNode ^ body);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression (Microsoft.CodeAnalysis.SyntaxToken asyncKeyword, Microsoft.CodeAnalysis.SyntaxToken delegateKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode body);
static member AnonymousMethodExpression : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax
Public Shared Function AnonymousMethodExpression (asyncKeyword As SyntaxToken, delegateKeyword As SyntaxToken, parameterList As ParameterListSyntax, body As CSharpSyntaxNode) As AnonymousMethodExpressionSyntax
Параметры
- asyncKeyword
- SyntaxToken
- delegateKeyword
- SyntaxToken
- parameterList
- ParameterListSyntax
- body
- CSharpSyntaxNode
Возвращаемое значение
Применяется к
AnonymousMethodExpression(SyntaxToken, SyntaxToken, ParameterListSyntax, BlockSyntax, ExpressionSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Создает новый экземпляр AnonymousMethodExpressionSyntax.
public static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression (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 static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression (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);
static member AnonymousMethodExpression : 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 Shared Function AnonymousMethodExpression (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
Возвращаемое значение
Применяется к
AnonymousMethodExpression(SyntaxTokenList, SyntaxToken, ParameterListSyntax, BlockSyntax, ExpressionSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Создает новый экземпляр AnonymousMethodExpressionSyntax.
public static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression (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);
static member AnonymousMethodExpression : 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 Shared Function AnonymousMethodExpression (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