TypeStatementSyntax.WithKeyword(SyntaxToken) 方法

定义

注意

This member is obsolete. Use DeclarationKeyword or a more specific property (e.g. WithClassKeyword) instead.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeStatementSyntax ^ WithKeyword(Microsoft::CodeAnalysis::SyntaxToken keyword);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("This member is obsolete. Use DeclarationKeyword or a more specific property (e.g. WithClassKeyword) instead.", true)]
public Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeStatementSyntax WithKeyword (Microsoft.CodeAnalysis.SyntaxToken keyword);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Obsolete("This member is obsolete. Use DeclarationKeyword or a more specific property (e.g. WithClassKeyword) instead.", true)>]
member this.WithKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeStatementSyntax
Public Function WithKeyword (keyword As SyntaxToken) As TypeStatementSyntax

参数

keyword
SyntaxToken

返回

属性

适用于