共用方式為


SyntaxGenerator.ThrowExpression(SyntaxNode) 方法

定義

建立可用來擲回例外狀況的運算式。

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ ThrowExpression(Microsoft::CodeAnalysis::SyntaxNode ^ expression);
public abstract Microsoft.CodeAnalysis.SyntaxNode ThrowExpression (Microsoft.CodeAnalysis.SyntaxNode expression);
abstract member ThrowExpression : Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function ThrowExpression (expression As SyntaxNode) As SyntaxNode

參數

expression
SyntaxNode

傳回

適用於