共用方式為


UsingDirectiveSyntax.WithUnsafeKeyword(SyntaxToken) 方法

定義

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

參數

unsafeKeyword
SyntaxToken

傳回

適用於