共用方式為


DeclarationModifiers.WithAsync(Boolean) 方法

定義

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

參數

isAsync
Boolean

傳回

適用於