Created by potrace 1.16, written by Peter Selinger 2001-2019 Spectre.Console
  • Sponsor Sponsor
  • GitHub icon GitHub
Welcome!
Sponsors
Quick Start
Best Practices
Recent Blog Posts
Release Notes
News
Markup
Exceptions
Live
Live Display
Progress
Status
Async Extensions
Prompts
Text prompt
Selection
Multi Selection
Widgets
Align
Columns
Panel
Table
Tree
Bar Chart
Rows
Breakdown Chart
Rule
Calendar
Grid
Layout
Figlet
Padder
Canvas
Canvas Image
JSON
Text Path
Spectre.Console.Cli
Getting Started
Introduction
CommandApp
Specifying Settings
Creating Commands
Composing Commands
Migrate from Spectre.Cli
Exceptions
Command Help
Unit Testing
Appendix
Colors
Styles
Borders
Emojis
Spinners
API Reference

IFlagValue Interface

  1. API Reference
  2. Spectre.Console.Cli
  3. IFlagValue
Represents a flag with an optional value.
public interface IFlagValue
Namespace
Spectre.Console.Cli
Implementing Types
  • FlagValue<T>

Properties

abstract bool IsSet
Gets or sets a value indicating whether or not the flag was set or not.
abstract Type Type
Gets the flag's element type.
abstract object Value
Gets or sets the flag's value.
© 2025 Patrik Svensson, Phil Scott, Nils Andresen Powered by Netlify Supported by the .NET Foundation 1.0.0+f32f80dc57d8b0c8446a72ea0d382f3048f8bac1