Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

OptionResult.IdentifierToken Property

Definition

Namespace:
System.CommandLine.Parsing
Assembly:
System.CommandLine.dll
Package:
System.CommandLine v3.0.0-preview.5.26302.115
Source:
OptionResult.cs
Source:
OptionResult.cs

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.

Gets the token that was parsed to specify the option.

public:
 property System::CommandLine::Parsing::Token ^ IdentifierToken { System::CommandLine::Parsing::Token ^ get(); };
public System.CommandLine.Parsing.Token? IdentifierToken { get; }
member this.IdentifierToken : System.CommandLine.Parsing.Token
Public ReadOnly Property IdentifierToken As Token

Property Value

Remarks

An identifier token is a token that matches either the option's name or one of its aliases.

Applies to


Feedback

Was this page helpful?