共用方式為


UsingDirectiveSyntax.WithGlobalKeyword(SyntaxToken) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax WithGlobalKeyword (Microsoft.CodeAnalysis.SyntaxToken globalKeyword);
member this.WithGlobalKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax
Public Function WithGlobalKeyword (globalKeyword As SyntaxToken) As UsingDirectiveSyntax

Parameters

globalKeyword
SyntaxToken

Returns

Applies to