共用方式為


PartitionWhileClauseSyntax.Update 方法

定義

傳回具有指定變更的這個 複本。 如果沒有實際變更,則傳回這個實例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::PartitionWhileClauseSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken skipOrTakeKeyword, Microsoft::CodeAnalysis::SyntaxToken whileKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ condition);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.PartitionWhileClauseSyntax Update (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken skipOrTakeKeyword, Microsoft.CodeAnalysis.SyntaxToken whileKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax condition);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.PartitionWhileClauseSyntax
Public Function Update (kind As SyntaxKind, skipOrTakeKeyword As SyntaxToken, whileKeyword As SyntaxToken, condition As ExpressionSyntax) As PartitionWhileClauseSyntax

參數

kind
SyntaxKind

新種類。

skipOrTakeKeyword
SyntaxToken

SkipOrTakeKeyword 屬性的值。

whileKeyword
SyntaxToken

WhileKeyword 屬性的值。

condition
ExpressionSyntax

Condition 屬性的值。

傳回

適用於