共用方式為


StructureStatementSyntax.WithKeyword(SyntaxToken) 方法

定義

警告

This member is obsolete.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::StructureStatementSyntax ^ WithKeyword(Microsoft::CodeAnalysis::SyntaxToken keyword);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("This member is obsolete.", true)]
public Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureStatementSyntax 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.StructureStatementSyntax
Public Function WithKeyword (keyword As SyntaxToken) As StructureStatementSyntax

參數

keyword
SyntaxToken

傳回

屬性

適用於