UsingDirectiveSyntax.WithStaticKeyword(SyntaxToken) 方法

定义

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

参数

staticKeyword
SyntaxToken

返回

适用于