DoStatementSyntax.Update 方法

定义

返回具有指定更改的此副本。 如果没有实际更改,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::DoStatementSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken doKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileOrUntilClauseSyntax ^ whileOrUntilClause);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax Update (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken doKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax whileOrUntilClause);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax
Public Function Update (kind As SyntaxKind, doKeyword As SyntaxToken, whileOrUntilClause As WhileOrUntilClauseSyntax) As DoStatementSyntax

参数

kind
SyntaxKind

新类型。

doKeyword
SyntaxToken

DoKeyword 属性的值。

whileOrUntilClause
WhileOrUntilClauseSyntax

WhileOrUntilClause 属性的值。

返回

适用于