DeclarationModifiers.WithIsConst(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
Microsoft::CodeAnalysis::Editing::DeclarationModifiers WithIsConst(bool isConst);
public Microsoft.CodeAnalysis.Editing.DeclarationModifiers WithIsConst (bool isConst);
member this.WithIsConst : bool -> Microsoft.CodeAnalysis.Editing.DeclarationModifiers
Public Function WithIsConst (isConst As Boolean) As DeclarationModifiers
Parameters
- isConst
- Boolean