共用方式為


UsingDirectiveSyntax.WithStaticKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::UsingDirectiveSyntax ^ WithStaticKeyword(Microsoft::CodeAnalysis::SyntaxToken staticKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax WithStaticKeyword (Microsoft.CodeAnalysis.SyntaxToken staticKeyword);
member this.WithStaticKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax
Public Function WithStaticKeyword (staticKeyword As SyntaxToken) As UsingDirectiveSyntax

Parameters

staticKeyword
SyntaxToken

Returns

Applies to