共用方式為


DeclarationModifiers.WithIsSealed(Boolean) 方法

定義

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

參數

isSealed
Boolean

傳回

適用於