共用方式為


DeclarationModifiers.WithIsVirtual(Boolean) Method

Definition

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

Parameters

isVirtual
Boolean

Returns

Applies to