次の方法で共有


ModuleStatementSyntax.WithModuleKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the ModuleKeyword 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::ModuleStatementSyntax ^ WithModuleKeyword(Microsoft::CodeAnalysis::SyntaxToken moduleKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleStatementSyntax WithModuleKeyword (Microsoft.CodeAnalysis.SyntaxToken moduleKeyword);
member this.WithModuleKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleStatementSyntax
Public Function WithModuleKeyword (moduleKeyword As SyntaxToken) As ModuleStatementSyntax

Parameters

moduleKeyword
SyntaxToken

Returns

Applies to