Command.GetEnumerator Method

Definition

Gets an enumerator that represents all of the symbols for the command.

C#
public System.Collections.Generic.IEnumerator<System.CommandLine.Symbol> GetEnumerator();

Returns

An enumerator that can be used to iterate through the collection.

Implements

Applies to

Product Versions
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)