共用方式為


ThrowExpressionSyntax.WithThrowKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ThrowExpressionSyntax ^ WithThrowKeyword(Microsoft::CodeAnalysis::SyntaxToken throwKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.ThrowExpressionSyntax WithThrowKeyword (Microsoft.CodeAnalysis.SyntaxToken throwKeyword);
member this.WithThrowKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ThrowExpressionSyntax
Public Function WithThrowKeyword (throwKeyword As SyntaxToken) As ThrowExpressionSyntax

Parameters

throwKeyword
SyntaxToken

Returns

Applies to