共用方式為


DeclarationModifiers.WithIsVolatile(Boolean) Method

Definition

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

Parameters

isVolatile
Boolean

Returns

Applies to