ArgIterator Struct
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.
Represents a variable-length argument list; that is, the parameters of a function that takes a variable number of arguments.
public value class ArgIterator
public ref struct ArgIterator
public struct ArgIterator
type ArgIterator = struct
Public Structure ArgIterator
- Inheritance
Developers who write compilers use the ArgIterator structure to enumerate the mandatory and optional arguments in an argument list. The ArgIterator structure is not generally useful for applications other than compilers.
The functionality in the ArgIterator structure is typically hidden in the syntax of a specific programming language. For example, in the C++ programming language you declare a variable-length argument list by specifying an ellipsis ("...") at the end of the argument list. The ArgIterator structure is useful primarily when a development language does not provide direct support for accessing variable-length parameters.
Arg |
Initializes a new instance of the ArgIterator structure using the specified argument list and a pointer to an item in the list. |
Arg |
Initializes a new instance of the ArgIterator structure using the specified argument list. |
End() |
Concludes processing of the variable-length argument list represented by this instance. |
Equals(Object) |
This method is not supported, and always throws NotSupportedException. |
Get |
Returns the hash code of this object. |
Get |
Returns the next argument in a variable-length argument list. |
Get |
Returns the next argument in a variable-length argument list that has a specified type. |
Get |
Returns the type of the next argument. |
Get |
Returns the number of arguments remaining in the argument list. |
Продукт | Версии |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Отзыв о .NET
.NET — это проект с открытым исходным кодом. Выберите ссылку, чтобы оставить отзыв: