共用方式為


OperatorStatementSyntax.WithOperatorKeyword(SyntaxToken) 方法

定義

使用 OperatorKeyword 屬性變更為指定的值,傳回這個 的複本。 如果指定的值與目前的值相同,則傳回這個實例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::OperatorStatementSyntax ^ WithOperatorKeyword(Microsoft::CodeAnalysis::SyntaxToken operatorKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorStatementSyntax WithOperatorKeyword (Microsoft.CodeAnalysis.SyntaxToken operatorKeyword);
member this.WithOperatorKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorStatementSyntax
Public Function WithOperatorKeyword (operatorKeyword As SyntaxToken) As OperatorStatementSyntax

參數

operatorKeyword
SyntaxToken

傳回

適用於