共用方式為


DeclarationModifiers.WithIsExtern(Boolean) 方法

定義

public Microsoft.CodeAnalysis.Editing.DeclarationModifiers WithIsExtern (bool isExtern);
member this.WithIsExtern : bool -> Microsoft.CodeAnalysis.Editing.DeclarationModifiers
Public Function WithIsExtern (isExtern As Boolean) As DeclarationModifiers

參數

isExtern
Boolean

傳回

適用於