Partilhar via


DeclareStatementSyntax.WithCharsetKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the CharsetKeyword 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::DeclareStatementSyntax ^ WithCharsetKeyword(Microsoft::CodeAnalysis::SyntaxToken charsetKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.DeclareStatementSyntax WithCharsetKeyword (Microsoft.CodeAnalysis.SyntaxToken charsetKeyword);
member this.WithCharsetKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DeclareStatementSyntax
Public Function WithCharsetKeyword (charsetKeyword As SyntaxToken) As DeclareStatementSyntax

Parameters

charsetKeyword
SyntaxToken

Returns

Applies to