共用方式為


ModuleStatementSyntax.WithKeyword(SyntaxToken) 方法

定義

警告

This member is obsolete.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ModuleStatementSyntax ^ WithKeyword(Microsoft::CodeAnalysis::SyntaxToken keyword);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("This member is obsolete.", true)]
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleStatementSyntax WithKeyword (Microsoft.CodeAnalysis.SyntaxToken keyword);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Obsolete("This member is obsolete.", true)>]
override this.WithKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleStatementSyntax
Public Function WithKeyword (keyword As SyntaxToken) As ModuleStatementSyntax

參數

keyword
SyntaxToken

傳回

屬性

適用於