共用方式為


LocalDeclarationStatementSyntax.WithUsingKeyword(SyntaxToken) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax WithUsingKeyword (Microsoft.CodeAnalysis.SyntaxToken usingKeyword);
member this.WithUsingKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax
Public Function WithUsingKeyword (usingKeyword As SyntaxToken) As LocalDeclarationStatementSyntax

Parameters

usingKeyword
SyntaxToken

Returns

Applies to