VersionOption Class

Definition

public ref class VersionOption sealed : System::CommandLine::Option
public sealed class VersionOption : System.CommandLine.Option
type VersionOption = class
    inherit Option
Public NotInheritable Class VersionOption
Inherits Option
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)
Arity

Gets or sets the arity of the option.

(Inherited from Option)
CompletionSources (Inherited from Option)
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

Methods

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)

Applies to