共用方式為


DeclareStatementSyntax.WithKeyword(SyntaxToken) Method

Definition

Caution

This member is obsolete.

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

Parameters

keyword
SyntaxToken

Returns

Attributes

Applies to