Edit

Share via


VersionOption Class

Definition

public ref class VersionOption sealed : System::CommandLine::Option<bool>
public sealed class VersionOption : System.CommandLine.Option<bool>
type VersionOption = class
    inherit Option<bool>
Public NotInheritable Class VersionOption
Inherits Option(Of Boolean)
Inheritance
VersionOption

Constructors

VersionOption()
VersionOption(String, String[])

Properties

Action
Aliases (Inherited from Option)
AllowMultipleArgumentsPerToken

Gets a value that indicates whether multiple argument tokens are allowed for each option identifier token.

(Inherited from Option)
CompletionSources (Inherited from Option)
CustomParser (Inherited from Option<T>)
DefaultValueFactory (Inherited from Option<T>)
Description

Gets or sets the description of the symbol.

(Inherited from Symbol)
HasDefaultValue (Inherited from Option)
HelpName (Inherited from Option)
Hidden (Inherited from Symbol)
Parents

Gets the parent symbols.

(Inherited from Symbol)
Recursive (Inherited from Option)
Required (Inherited from Option)
Validators (Inherited from Option)
ValueType (Inherited from Option<T>)

Methods

AcceptLegalFileNamesOnly() (Inherited from Option<T>)
AcceptLegalFilePathsOnly() (Inherited from Option<T>)
AcceptOnlyFromAmong(String[]) (Inherited from Option<T>)
GetCompletions(CompletionContext)

Gets the suggested values for command line completion.

(Inherited from Option)
GetDefaultValue() (Inherited from Option)
ToString()

Returns a string that represents the current object.

(Inherited from Symbol)

Extension Methods

AcceptExistingOnly<T>(Option<T>)

Applies to