共用方式為


DeclarationModifiers.WithIsUnsafe(Boolean) 方法

定義

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

參數

isUnsafe
Boolean

傳回

適用於