SyntaxFactory.InvocationExpression 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
InvocationExpression(ExpressionSyntax) |
建立新的 InvocationExpressionSyntax 實例。 |
InvocationExpression(ExpressionSyntax, ArgumentListSyntax) |
建立新的 InvocationExpressionSyntax 實例。 |
InvocationExpression(ExpressionSyntax)
建立新的 InvocationExpressionSyntax 實例。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::InvocationExpressionSyntax ^ InvocationExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax InvocationExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
static member InvocationExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax
Public Shared Function InvocationExpression (expression As ExpressionSyntax) As InvocationExpressionSyntax
參數
- expression
- ExpressionSyntax
傳回
適用於
InvocationExpression(ExpressionSyntax, ArgumentListSyntax)
建立新的 InvocationExpressionSyntax 實例。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::InvocationExpressionSyntax ^ InvocationExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::CSharp::Syntax::ArgumentListSyntax ^ argumentList);
public static Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax InvocationExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentListSyntax argumentList);
static member InvocationExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentListSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax
Public Shared Function InvocationExpression (expression As ExpressionSyntax, argumentList As ArgumentListSyntax) As InvocationExpressionSyntax
參數
- expression
- ExpressionSyntax
- argumentList
- ArgumentListSyntax