次の方法で共有


ThrowStatementSyntax.WithExpression(ExpressionSyntax) メソッド

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ThrowStatementSyntax ^ WithExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression);
public Microsoft.CodeAnalysis.CSharp.Syntax.ThrowStatementSyntax WithExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
public Microsoft.CodeAnalysis.CSharp.Syntax.ThrowStatementSyntax WithExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expression);
member this.WithExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ThrowStatementSyntax
Public Function WithExpression (expression As ExpressionSyntax) As ThrowStatementSyntax

パラメーター

expression
ExpressionSyntax

戻り値

適用対象