次の方法で共有


ReDimStatementSyntax.WithPreserveKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the PreserveKeyword property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ReDimStatementSyntax ^ WithPreserveKeyword(Microsoft::CodeAnalysis::SyntaxToken preserveKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ReDimStatementSyntax WithPreserveKeyword (Microsoft.CodeAnalysis.SyntaxToken preserveKeyword);
member this.WithPreserveKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ReDimStatementSyntax
Public Function WithPreserveKeyword (preserveKeyword As SyntaxToken) As ReDimStatementSyntax

Parameters

preserveKeyword
SyntaxToken

Returns

Applies to